Advertisement
JudeAustin

Untitled

Sep 2nd, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. When running stratum-mining I noticed that stratum and pushpoold use different settings. @pooler was nice enough to explain it to me in detail:
  2.  
  3. pushpoold uses a target bits terminology and stratum a difficulty setting. These are different. When running pushpoold at a target bit of 20 you will match the default setting of 16 in startum-mining. This will ensure that hashrates on mmcfe-ng match up! If you'd think you could set pushpoold to 16 and match it with stratum you will be off.
  4.  
  5. He devised a formula that can be used to change startum difficulty and match pushpoold and mmcfe-ng to it:
  6.  
  7. (stratum diff) ~= 2^((target bits in pushpool) - 16)
  8.  
  9. So if you change your stratum dWhen running stratum-mining I noticed that stratum and pushpoold use different settings. @pooler was nice enough to explain it to me in detail:
  10.  
  11. pushpoold uses a target bits terminology and stratum a difficulty setting. These are different. When running pushpoold at a target bit of 20 you will match the default setting of 16 in startum-mining. This will ensure that hashrates on mmcfe-ng match up! If you'd think you could set pushpoold to 16 and match it with stratum you will be off.
  12.  
  13. He devised a formula that can be used to adjust stratum to match the difficulty used in mmcfe-ng (and pushpoold:
  14.  
  15. (stratum diff) ~= 2^((target bits in pushpool) - 16)
  16.  
  17. Example, you are running mmcfe-ng and pushpoold with a setting of 20:
  18.  
  19. 16 ~= 2^(20 - 16)
  20.  
  21. Add the resulting 16 as the POOL_TARGET in the stratum configuration.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement