Bitcoin Forum
November 09, 2024, 04:12:39 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoinD and Overall Network Hash Rate  (Read 2059 times)
bitlane (OP)
Internet detective
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


I heart thebaron


View Profile
January 28, 2012, 06:53:38 PM
 #1

Can a local running bitcoinD instance be queried to find current overall Bitcoin Network Hash Rate ?

I apologize if this has been covered in the past, or if  it's a simple task....I would just like to know how to accomplish this..

Thanks
bitlane

Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 28, 2012, 07:02:21 PM
 #2

total hash rate is estimated from the time it took to solve the last X blocks and the current difficulty
don know if you can get block time stamps from the client, but you should be ablr to check in the blockchain file itself
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
January 28, 2012, 07:02:36 PM
 #3

Not directly.  It's computed as a conversion factor times difficulty divided by time between blocks.  There's no single hashrate measure since the window you use to estimate time between blocks is arbitrary.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Azelphur
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
January 31, 2012, 02:40:40 AM
 #4

BitcoinD on it's own can't do this, there are a couple of ways you can get this information though.

If you must solo mine:
A) Just look at your miner
B) Install a pool server locally.

If your ok with a pool:
A) Use a pool that shows you this information
B) If you want to use a pool that doesn't show this information, but are still using a pool (Doesn't work with solo mining) use Bitcoin Mining proxy

Your miner will always give you the most accurate hash rate readings. Estimates from pool servers (or bitcoin mining proxy) are based on the amount of shares you submit and are best guesses which shift based on how lucky you are.
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!