From 4b9154fd9faf09f37b55637802fb837f02aa76e1 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 26 Feb 2014 18:19:17 -0700 Subject: [PATCH] Added multiple daemons in config example --- coins/litecoin_testnet_example.json | 33 +++++++++++++++++------------ 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/coins/litecoin_testnet_example.json b/coins/litecoin_testnet_example.json index e89e1cb..df4fdcf 100644 --- a/coins/litecoin_testnet_example.json +++ b/coins/litecoin_testnet_example.json @@ -6,24 +6,31 @@ "txMessages": false, "address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc", "stratumPort": 3334, - "difficulty": 32, - "blockRefreshInterval": 1, + "difficulty": 8, + "blockRefreshInterval": 1000, - "daemon": { - "host": "localhost", - "port": 19332, - "user": "litecoinrpc", - "password": "testnet" - }, + "daemon": [ + { //first daemon instance + "host": "localhost", + "port": 19332, + "user": "litecoinrpc", + "password": "testnet" + }, + { //backup daemon instance + "host": "localhost", + "port": 19344, + "user": "litecoinrpc", + "password": "testnet" + } + ], "varDiff": { "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 - "daemonDiffUpdateFrequency": 3600, //get the network difficulty every this many seconds - "targetTime": 30, //target time per share (i.e. try to get 1 share per this many seconds) - "retargetTime": 120, //check to see if we should retarget every this many seconds - "variancePercent": 20 //allow average time to very this % from target without retarget + "targetTime": 60, //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 + "variancePercent": 10 //allow average time to very this % from target without retarget }, "p2p": {