Browse Source

Change default block polling to 50ms

master
Con Kolivas 10 years ago
parent
commit
780b42a424
  1. 2
      ckpool.conf
  2. 2
      src/ckpool.c

2
ckpool.conf

@ -13,7 +13,7 @@
], ],
"btcaddress" : "14BMjogz69qe8hk9thyzbmR5pg34mVKB1e", "btcaddress" : "14BMjogz69qe8hk9thyzbmR5pg34mVKB1e",
"btcsig" : "/mined by ck/", "btcsig" : "/mined by ck/",
"blockpoll" : 500, "blockpoll" : 50,
"update_interval" : 30, "update_interval" : 30,
"serverurl" : "ckpool.org:3333", "serverurl" : "ckpool.org:3333",
"mindiff" : 1, "mindiff" : 1,

2
src/ckpool.c

@ -1208,7 +1208,7 @@ int main(int argc, char **argv)
if (!ckp.btcaddress) if (!ckp.btcaddress)
ckp.btcaddress = ckp.donaddress; ckp.btcaddress = ckp.donaddress;
if (!ckp.blockpoll) if (!ckp.blockpoll)
ckp.blockpoll = 500; ckp.blockpoll = 50;
if (!ckp.update_interval) if (!ckp.update_interval)
ckp.update_interval = 30; ckp.update_interval = 30;
if (!ckp.mindiff) if (!ckp.mindiff)

Loading…
Cancel
Save