1) Added link to supported hashing algos, 2) added vertcoin (scrypt-n) example

This commit is contained in:
Matt 2014-03-31 11:29:36 -06:00
parent b7e7916736
commit ba74b107d5
4 changed files with 66 additions and 2 deletions

View File

@ -8,7 +8,7 @@ front-end website.
#### Features
* For the pool server it uses the highly efficient [node-stratum-pool](//github.com/zone117x/node-stratum-pool) module which
supports vardiff, POW & POS, transaction messages, anti-DDoS, IP banning, several hashing algorithms.
supports vardiff, POW & POS, transaction messages, anti-DDoS, IP banning, [several hashing algorithms](//github.com/zone117x/node-stratum-pool#hashing-algorithms-supported).
* The portal has an [MPOS](//github.com/MPOS/php-mpos) compatibility mode so that the it can
function as a drop-in-replacement for [python-stratum-mining](//github.com/Crypto-Expert/stratum-mining). This

6
coins/vertcoin.json Normal file
View File

@ -0,0 +1,6 @@
{
"name": "Vertcoin",
"symbol": "VTC",
"algorithm": "scrypt-n",
"txMessages": false
}

View File

@ -64,7 +64,8 @@ function SetupForPool(logger, poolOptions, setupFinished){
daemon.cmd('validateaddress', [poolOptions.address], function(result){
if (!result[0].response || !result[0].response.ismine){
logger.error(logSystem, logComponent,
'Daemon does not own pool address - payment processing can not be done with this daemon');
'Daemon does not own pool address - payment processing can not be done with this daemon, '
+ JSON.stringify(result[0].response));
return;
}
callback()

View File

@ -0,0 +1,57 @@
{
"enabled": true,
"coin": "vertcoin.json",
"shareProcessing": {
"internal": {
"enabled": true,
"validateWorkerAddress": true,
"paymentInterval": 60,
"minimumPayment": 100.001,
"minimumReserve": 10,
"feePercent": 0.02,
"feeReceiveAddress": "VrcunuCcNUULMBoiw66v9SAdQq2m1FpP3C",
"feeWithdrawalThreshold": 5,
"daemon": {
"host": "localhost",
"port": 13295,
"user": "testuser",
"password": "testpass"
},
"redis": {
"host": "localhost",
"port": 6379
}
},
"mpos": {
"enabled": false,
"host": "localhost",
"port": 3306,
"user": "me",
"password": "mypass",
"database": "ltc",
"stratumAuth": "password"
}
},
"address": "VrcunuCcNUULMBoiw66v9SAdQq2m1FpP3C",
"blockRefreshInterval": 1000,
"txRefreshInterval": 20000,
"connectionTimeout": 600,
"ports": {
"6381": {
"diff": 8
}
},
"daemons": [
{
"host": "localhost",
"port": 13295,
"user": "testuser",
"password": "testpass"
}
]
}