3
1
I have a new question for you.
I have setup the stratum mining proxy, and all is working fine. (Actually found our first block recently!) However, I have pushpool running as well, and some of my users still use it based on preference.
How can I be assured that people that use stratum isn't getting more shares than those who's using pushpool? Is there a way to set the difficulty on stratum?
As of now i set the difficulty manually in pushpool's config file, with rpc.target.bits
Help is appriciated!
Will the 32 in:
self.connection_ref().rpc('mining.set_difficulty', [32,], is_notification=True)actually correspond to the SAME difficulty stated in the config of pushpool? So 20 in pushpool = 20 in that line you posted? – Robin Jonsson – 2013-05-27T22:31:50.963Note that this stratum server does not use the same definition of difficulty as the rest of mining. So if you want difficulty 32 shares, you need to use:
self.connection_ref().rpc('mining.set_difficulty', [31.99951171875,], is_notification=True) – Luke-Jr – 2013-11-24T06:11:55.603