Bitcoin Forum
May 02, 2024, 12:55:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to calculate worker hashrate at stratum  (Read 705 times)
startsts (OP)
Sr. Member
****
Offline Offline

Activity: 1092
Merit: 273



View Profile
June 28, 2017, 03:30:44 PM
 #1

I use node-stratum-pool and it works well but I cannot calculate hashrate of the worker.
on worker's share this stratum gives me 2 diffs: stratum worker difficulty  and  actual difficulty of the share, what of them I should save to database to hashrate calculations?

1714611343
Hero Member
*
Offline Offline

Posts: 1714611343

View Profile Personal Message (Offline)

Ignore
1714611343
Reply with quote  #2

1714611343
Report to moderator
1714611343
Hero Member
*
Offline Offline

Posts: 1714611343

View Profile Personal Message (Offline)

Ignore
1714611343
Reply with quote  #2

1714611343
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714611343
Hero Member
*
Offline Offline

Posts: 1714611343

View Profile Personal Message (Offline)

Ignore
1714611343
Reply with quote  #2

1714611343
Report to moderator
unholycactus
Legendary
*
Offline Offline

Activity: 1078
Merit: 1023



View Profile WWW
June 30, 2017, 12:41:39 AM
 #2

None of the two you have listed, those are difficulty values and are unrelated to the hashrate.
Your hashrate should be visible from the pool's side, you'll get the most accurate value from them.
Otherwise, it depends on your miner.
startsts (OP)
Sr. Member
****
Offline Offline

Activity: 1092
Merit: 273



View Profile
June 30, 2017, 07:24:36 PM
 #3

None of the two you have listed, those are difficulty values and are unrelated to the hashrate.
Your hashrate should be visible from the pool's side, you'll get the most accurate value from them.
Otherwise, it depends on your miner.

actually MPOS (pool engine) calculates hashrate using stratum worker difficulty,  MPOS shows hashrate for last 5 minutes without normalization, so at pool dashboard hashrate always jumps up and down.   I try the same way but I do hashrate normalization (I calculate average at 60 minutes) and hashrate is 15% lower than my miner program shows,  is ok to lose 15% of hashrate on mining?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!