Bitcoin Forum
October 04, 2024, 08:16:30 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Average value of the hashes?  (Read 897 times)
mustyoshi (OP)
Sr. Member
****
Offline Offline

Activity: 287
Merit: 250



View Profile
July 02, 2013, 05:10:06 PM
 #1

When miners are mining and producing block hashes, what is the average value of those hashes?

Since SHA256 is supposed to be uniform distribution the average should tend towards 2^255, right?
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
July 02, 2013, 06:38:36 PM
 #2

It was my impression that it's not a uniform distribution. A diff=1 share is by far the most common. A diff=10 share is 10x harder to find than a diff=1 share. It's 15,802 times harder to get a diff=15,802 share than a diff=1.

Your question is like asking what's the average height of all the waves in all the oceans in the world, as they happen in realtime, so you can calculate the height of a tsunami . You can't measure that.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
Hawkix
Hero Member
*****
Offline Offline

Activity: 531
Merit: 505



View Profile WWW
July 03, 2013, 10:15:17 AM
 #3

When miners are mining and producing block hashes, what is the average value of those hashes?

Since SHA256 is supposed to be uniform distribution the average should tend towards 2^255, right?

Yes. The SHA256 should be uniform, so the first bit is zero with 1/2 probability, both first 2 bits with probability 1/4 and so on. So the share is of difficulty 1 with probability 1/(2^32).

Donations: 1Hawkix7GHym6SM98ii5vSHHShA3FUgpV6
http://btcportal.net/ - All about Bitcoin - coming soon!
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!