Added multiple daemons in config example
This commit is contained in:
parent
4dfff19420
commit
4b9154fd9f
@ -6,24 +6,31 @@
|
|||||||
"txMessages": false,
|
"txMessages": false,
|
||||||
"address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc",
|
"address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc",
|
||||||
"stratumPort": 3334,
|
"stratumPort": 3334,
|
||||||
"difficulty": 32,
|
"difficulty": 8,
|
||||||
"blockRefreshInterval": 1,
|
"blockRefreshInterval": 1000,
|
||||||
|
|
||||||
"daemon": {
|
"daemon": [
|
||||||
"host": "localhost",
|
{ //first daemon instance
|
||||||
"port": 19332,
|
"host": "localhost",
|
||||||
"user": "litecoinrpc",
|
"port": 19332,
|
||||||
"password": "testnet"
|
"user": "litecoinrpc",
|
||||||
},
|
"password": "testnet"
|
||||||
|
},
|
||||||
|
{ //backup daemon instance
|
||||||
|
"host": "localhost",
|
||||||
|
"port": 19344,
|
||||||
|
"user": "litecoinrpc",
|
||||||
|
"password": "testnet"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
"varDiff": {
|
"varDiff": {
|
||||||
"enabled": true, //set to false to disable vardiff functionality
|
"enabled": true, //set to false to disable vardiff functionality
|
||||||
"minDifficulty": 16, //minimum difficulty. below 16 will cause problems
|
"minDifficulty": 8, //minimum difficulty. below 16 will cause problems
|
||||||
"maxDifficulty": 1000, //network difficulty will be used if it is lower than this
|
"maxDifficulty": 1000, //network difficulty will be used if it is lower than this
|
||||||
"daemonDiffUpdateFrequency": 3600, //get the network difficulty every this many seconds
|
"targetTime": 60, //target time per share (i.e. try to get 1 share per this many seconds)
|
||||||
"targetTime": 30, //target time per share (i.e. try to get 1 share per this many seconds)
|
"retargetTime": 10, //check to see if we should retarget every this many seconds
|
||||||
"retargetTime": 120, //check to see if we should retarget every this many seconds
|
"variancePercent": 10 //allow average time to very this % from target without retarget
|
||||||
"variancePercent": 20 //allow average time to very this % from target without retarget
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"p2p": {
|
"p2p": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user