mirror of https://github.com/BTCPrivate/z-nomp.git
1) Added link to supported hashing algos, 2) added vertcoin (scrypt-n) example
This commit is contained in:
parent
b7e7916736
commit
ba74b107d5
|
@ -8,7 +8,7 @@ front-end website.
|
||||||
#### Features
|
#### Features
|
||||||
|
|
||||||
* For the pool server it uses the highly efficient [node-stratum-pool](//github.com/zone117x/node-stratum-pool) module which
|
* 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
|
* 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
|
function as a drop-in-replacement for [python-stratum-mining](//github.com/Crypto-Expert/stratum-mining). This
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "Vertcoin",
|
||||||
|
"symbol": "VTC",
|
||||||
|
"algorithm": "scrypt-n",
|
||||||
|
"txMessages": false
|
||||||
|
}
|
|
@ -64,7 +64,8 @@ function SetupForPool(logger, poolOptions, setupFinished){
|
||||||
daemon.cmd('validateaddress', [poolOptions.address], function(result){
|
daemon.cmd('validateaddress', [poolOptions.address], function(result){
|
||||||
if (!result[0].response || !result[0].response.ismine){
|
if (!result[0].response || !result[0].response.ismine){
|
||||||
logger.error(logSystem, logComponent,
|
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;
|
return;
|
||||||
}
|
}
|
||||||
callback()
|
callback()
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue