CryptoManiac / stratum-mining-proxy

mining proxy
62 stars 59 forks source link

Setting New Difficulty Every Share! (Same One) #3

Open markudevelop opened 11 years ago

markudevelop commented 11 years ago

The stratum proxy protocol sets new difficulty every share (Same)

It looks like this

Setting New Difficulty: 32 Share Accepted Setting New Difficulty: 32 Share Accepted

I know it can be a pool problem but adding some small check to stratum_listener.py inside class DifficultySubscription(Subscription): to compare the difficulty if the same don't have to set the difficulty should fix this. I don't know programming I just was able to analyze the issue, Can anyone code this?

CryptoManiac commented 11 years ago

Hi. This causes any problem or not?

Local difficulty force option will be added in the next update.