From 9938681fbc71f87a8831369f94543eeec9a769dc Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 1 Apr 2014 10:10:01 -0600 Subject: [PATCH] Added jobRebroadcastTimeout configuration --- README.md | 4 ++++ pool_configs/bitcoin_example.json | 1 + pool_configs/darkcoin_example.json | 1 + pool_configs/execoin_example.json | 1 + pool_configs/galleon_example.json | 1 + pool_configs/helixcoin_example.json | 1 + pool_configs/hirocoin_example.json | 1 + pool_configs/hobonickels_example.json | 1 + pool_configs/litecoin_example.json | 1 + pool_configs/maxcoin_example.json | 3 ++- pool_configs/ultracoin_example.json | 1 + pool_configs/vertcoin_example.json | 1 + 12 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df4369a..66f9f49 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,10 @@ Description of options: job broadcast. */ "txRefreshInterval": 20000, + /* Some miner software is bugged and will consider the pool offline if it doesn't receive + anything for around a minute, so every time we broadcast jobs, set a timeout to rebroadcast + in this many seconds unless we find a new job. Set to zero or remove to disable this. */ + "jobRebroadcastTimeout": 55, //instanceId: 37, //Recommend not using this because a crypto-random one will be generated diff --git a/pool_configs/bitcoin_example.json b/pool_configs/bitcoin_example.json index c6cd29b..a18e6bf 100644 --- a/pool_configs/bitcoin_example.json +++ b/pool_configs/bitcoin_example.json @@ -38,6 +38,7 @@ "address": "mtCiLWzBy9EpuxzkLwizPYiPFDy69HTd4b", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "banning": { diff --git a/pool_configs/darkcoin_example.json b/pool_configs/darkcoin_example.json index 3ad716e..291cd46 100644 --- a/pool_configs/darkcoin_example.json +++ b/pool_configs/darkcoin_example.json @@ -38,6 +38,7 @@ "address": "XfkoYutJ8KYtLxZ4TgnMqC6SCmxuc3LEDY", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "banning": { diff --git a/pool_configs/execoin_example.json b/pool_configs/execoin_example.json index afc7b20..6625326 100644 --- a/pool_configs/execoin_example.json +++ b/pool_configs/execoin_example.json @@ -38,6 +38,7 @@ "address": "EabPhjVKcmus3LKFViAcwq3dfo8kzqpMkQ", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, diff --git a/pool_configs/galleon_example.json b/pool_configs/galleon_example.json index d257684..32e3a41 100644 --- a/pool_configs/galleon_example.json +++ b/pool_configs/galleon_example.json @@ -5,6 +5,7 @@ "address": "GRAiuGCWLrL8Psdr6pkhLpxrQGHdYfrSEz", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "shareProcessing": { diff --git a/pool_configs/helixcoin_example.json b/pool_configs/helixcoin_example.json index 3608317..9949a88 100644 --- a/pool_configs/helixcoin_example.json +++ b/pool_configs/helixcoin_example.json @@ -29,6 +29,7 @@ "address": "H9xyrh45LzLX4uXCP6jG6ZGrWho8srUgiG", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, diff --git a/pool_configs/hirocoin_example.json b/pool_configs/hirocoin_example.json index 68bca63..d0b27f7 100644 --- a/pool_configs/hirocoin_example.json +++ b/pool_configs/hirocoin_example.json @@ -39,6 +39,7 @@ "address": "HR6WNSR19kvaXSbwKymrba6uNx36BBjinS", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "banning": { diff --git a/pool_configs/hobonickels_example.json b/pool_configs/hobonickels_example.json index 438bae6..275ad3f 100644 --- a/pool_configs/hobonickels_example.json +++ b/pool_configs/hobonickels_example.json @@ -38,6 +38,7 @@ "address": "EzGiarU2S56jyRkYpS7FKssXCS6AAJChdU", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "banning": { diff --git a/pool_configs/litecoin_example.json b/pool_configs/litecoin_example.json index acd9856..223b33c 100644 --- a/pool_configs/litecoin_example.json +++ b/pool_configs/litecoin_example.json @@ -39,6 +39,7 @@ "address": "n4jSe18kZMCdGcZqaYprShXW6EH1wivUK1", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "banning": { diff --git a/pool_configs/maxcoin_example.json b/pool_configs/maxcoin_example.json index a5a852c..7907165 100644 --- a/pool_configs/maxcoin_example.json +++ b/pool_configs/maxcoin_example.json @@ -5,6 +5,7 @@ "address": "tKWkadAkT2vqK6v2PHLJmV1RTVvF7XZEgN", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "shareProcessing": { @@ -33,7 +34,7 @@ "ports": { "5547": { - "diff": 2 + "diff": 6 } }, diff --git a/pool_configs/ultracoin_example.json b/pool_configs/ultracoin_example.json index 7b8ffa7..cd6158d 100644 --- a/pool_configs/ultracoin_example.json +++ b/pool_configs/ultracoin_example.json @@ -38,6 +38,7 @@ "address": "UhyKVr4m516TPsrLwm91pYL4f99VGrJ1oC", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "banning": { diff --git a/pool_configs/vertcoin_example.json b/pool_configs/vertcoin_example.json index 2f053ff..1cf3685 100644 --- a/pool_configs/vertcoin_example.json +++ b/pool_configs/vertcoin_example.json @@ -38,6 +38,7 @@ "address": "VrcunuCcNUULMBoiw66v9SAdQq2m1FpP3C", "blockRefreshInterval": 1000, "txRefreshInterval": 20000, + "jobRebroadcastTimeout": 55, "connectionTimeout": 600,