moopless / stratum-mining-litecoin

This fork is no longer maintained. Please use https://github.com/ahmedbodi/stratum-mining
Other
38 stars 35 forks source link

very erratic hashrates with default MAX DIFF of 1000 on litecoin #54

Closed hashfaster closed 11 years ago

hashfaster commented 11 years ago

In general, shouldn't we always serve out shares less than network diff? I noticed some VERY erratic rates when stratum was handing out shares with diff > network diff.

Wanted to confirm that my thought was correct.

hashfaster commented 11 years ago

Maybe it has something to do with the never ending retargeting when theres no way to get to the desired shares per N seconds?

For example, I have a max diff of 600 set, so its constantly trying to set it to max, because im averaging 10 shares per 30 seconds.

2013-08-22 22:01:58,637 INFO template_registry # Update finished, 0.018 sec, 5 txes 2013-08-22 22:01:58,874 INFO BasicShareLimiter # Checking Retarget for dave.2 (600) avg. 10 target 30+-6 2013-08-22 22:01:58,875 INFO BasicShareLimiter # Retarget for dave.2 0 old: 600 new: 600