Bitcoin Forum
April 24, 2024, 11:45:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the correct algorithm to calculate worker & pool hashrate  (Read 1749 times)
sippsnapp (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
November 09, 2012, 06:03:01 PM
 #1

HI BTCtalk,
i urgently need to know how to calculate the worker and pool hashrate to display this data on my website.
The pool uses a PSQL database. Pool software is eloipool.

Πάντα ῥεῖ
Bitcoin + Altcoin node pool setup - pm
1714002357
Hero Member
*
Offline Offline

Posts: 1714002357

View Profile Personal Message (Offline)

Ignore
1714002357
Reply with quote  #2

1714002357
Report to moderator
1714002357
Hero Member
*
Offline Offline

Posts: 1714002357

View Profile Personal Message (Offline)

Ignore
1714002357
Reply with quote  #2

1714002357
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714002357
Hero Member
*
Offline Offline

Posts: 1714002357

View Profile Personal Message (Offline)

Ignore
1714002357
Reply with quote  #2

1714002357
Report to moderator
1714002357
Hero Member
*
Offline Offline

Posts: 1714002357

View Profile Personal Message (Offline)

Ignore
1714002357
Reply with quote  #2

1714002357
Report to moderator
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1025



View Profile WWW
November 10, 2012, 12:33:28 AM
 #2

Pools don't receive a report of miner hashrate, they get difficulty 1 share submissions and must extrapolate what the miner hashrate may be.

The average number of hashes required to find a difficulty one share is:

2**48 / 65535

so we estimate 4,295,032,833 hashes performed by a miner per share submitted.

Then lets estimate a miner's hashrate for the last 10 minutes (600 seconds):

S Shares/600 seconds * 4,295 MHash/share = S (4295/600) MHash/second = S * 7.158388 Mhash/s,

so if a miner finds 60 shares in this 10 minutes, their estimated hashrate is 429.5 Mhash/s.


J-Norm
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
November 26, 2012, 04:17:15 PM
 #3

Thanks for the math, that may come in handy for a project I am working on.
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!