Browse Source

Decrease the tolerance for attempted block submission to within 0.1%

master
Con Kolivas 9 years ago
parent
commit
02035ee74c
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -2955,8 +2955,8 @@ test_blocksolve(const stratum_instance_t *client, const workbase_t *wb, const uc
uchar swap[32]; uchar swap[32];
ts_t ts_now; ts_t ts_now;
/* Submit anything over 99% of the diff in case of rounding errors */ /* Submit anything over 99.9% of the diff in case of rounding errors */
if (diff < sdata->current_workbase->network_diff * 0.99) if (diff < sdata->current_workbase->network_diff * 0.999)
return; return;
LOGWARNING("Possible block solve diff %f !", diff); LOGWARNING("Possible block solve diff %f !", diff);

Loading…
Cancel
Save