Browse Source

PPLNS window should just be network diff

master
ckolivas 11 years ago
parent
commit
ed270c92fc
  1. 5
      src/stratifier.c

5
src/stratifier.c

@ -814,11 +814,10 @@ static void block_solve(ckpool_t *ckp)
user_instance_t *instance, *tmp; user_instance_t *instance, *tmp;
ck_rlock(&workbase_lock); ck_rlock(&workbase_lock);
max_window = current_workbase->network_diff; window = current_workbase->network_diff;
ck_runlock(&workbase_lock); ck_runlock(&workbase_lock);
window = max_window / 5; max_window = window * 5;
max_window *= 5;
LOGWARNING("Block solve user summary"); LOGWARNING("Block solve user summary");

Loading…
Cancel
Save