simplecrypto / powerpool

A Python gevent driven stratum mining server
BSD 2-Clause "Simplified" License
48 stars 71 forks source link

Make vardiff readjust after so many submission as well as time interval #141

Open icook opened 7 years ago

icook commented 7 years ago

If we've gotten 100 shares at the connection starting difficulty, we should recalc and push a diff adjustment regardless of whether the time interval has been reached, since it's clearly in need of change. Alternatively the threshold should just be a multiple of spm target for vardiff. Maybe 3.