Bitcoin Forum
May 14, 2024, 10:09:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to calculate bitcoin network hash rate  (Read 111 times)
maplelake (OP)
Jr. Member
*
Offline Offline

Activity: 47
Merit: 8


View Profile
May 08, 2018, 09:41:55 PM
Merited by ABCbits (1)
 #1

Bitcoin network's hash rate reaches 30E hash/s. How to get this value ?
https://blockchain.info/charts/hash-rate

Let's assume the latest block is mining for 10 minutes. Use the block's Nonce / 600s. that is 30E hash/s. Is it right ?
If it is right, that is only one client's hash rate. it is not the whole bitcoin network's hash capability.
1715681371
Hero Member
*
Offline Offline

Posts: 1715681371

View Profile Personal Message (Offline)

Ignore
1715681371
Reply with quote  #2

1715681371
Report to moderator
1715681371
Hero Member
*
Offline Offline

Posts: 1715681371

View Profile Personal Message (Offline)

Ignore
1715681371
Reply with quote  #2

1715681371
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715681371
Hero Member
*
Offline Offline

Posts: 1715681371

View Profile Personal Message (Offline)

Ignore
1715681371
Reply with quote  #2

1715681371
Report to moderator
squatter
Legendary
*
Offline Offline

Activity: 1666
Merit: 1196


STOP SNITCHIN'


View Profile
May 08, 2018, 11:33:21 PM
Merited by ABCbits (1)
 #2

Bitcoin network's hash rate reaches 30E hash/s. How to get this value ?
https://blockchain.info/charts/hash-rate

Let's assume the latest block is mining for 10 minutes. Use the block's Nonce / 600s. that is 30E hash/s. Is it right ?
If it is right, that is only one client's hash rate. it is not the whole bitcoin network's hash capability.

It's impossible to know the exact network hash rate at any one time. But since we know the difficulty and the rate at which blocks are being mined, we can deduce an estimate.

Christian Decker provided a good response to this question a few years ago:

Quote
The hashrate can be calculated from the expected rate of finding a block (144 a day), the actual rate of finding a block and the current difficulty.

So let's calculate the average hash_rate for a single day:

expected_blocks = 144
difficulty = 11187257.461361 # this is on May 22nd 2013
blocks_found = 155 # Also May 22nd 2013
hash_rate = (blocks_found/expected_blocks*difficulty * 2**32 / 600)

The reason we use a day to average out the hash_rate is that taken block by block the variance would be really high and we would not get anything meaningful.

According to WolframAlpha this gives us an averagge hash_rate for the 22nd May 2013 of 86.19 THashes/s. Numbers of course may vary depending on how you chose your interval, which appears to be the reason numbers don't match with the ones on Blockchain.info

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!