diff --git a/ckpool.conf b/ckpool.conf index ad29587a..c3b8662b 100644 --- a/ckpool.conf +++ b/ckpool.conf @@ -13,7 +13,7 @@ ], "btcaddress" : "14BMjogz69qe8hk9thyzbmR5pg34mVKB1e", "btcsig" : "/mined by ck/", -"blockpoll" : 50, +"blockpoll" : 5000, "update_interval" : 30, "serverurl" : "ckpool.org:3333", "mindiff" : 1, diff --git a/src/ckpool.c b/src/ckpool.c index 6e41347b..2146d658 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -1207,8 +1207,10 @@ int main(int argc, char **argv) ckp.donaddress = "14BMjogz69qe8hk9thyzbmR5pg34mVKB1e"; if (!ckp.btcaddress) ckp.btcaddress = ckp.donaddress; + /* Default blockpoll is sanity check only when notifier is not used or + * fails */ if (!ckp.blockpoll) - ckp.blockpoll = 50; + ckp.blockpoll = 5000; if (!ckp.update_interval) ckp.update_interval = 30; if (!ckp.mindiff)