Bitcoin Forum
January 18, 2019, 11:04:39 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: mining hardware can find new block in seconds , then why they take days ?!!  (Read 883 times)
shadyyaser
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
August 19, 2015, 03:31:37 AM
 #1

Finding new block in the mining process is based on changing the nonce value then hashing , and repeating this until reaching a hash whose value is equal to or lower than the target . The nonce is 32 bit long , which means that all possible changes that can be made to the nonce value is 2^32 -1 , then the maximum number of hashes that needed to be made by a mining hardware until reaching the desired hash is 2^32 -1 = 4294967295 (approximately 4 billion hashes) . This number of hashes can be made in one second by ASIC whose hash rate is 4 Ghash/s (4 billion hashes per second ), and can even be done in millisecond by ASIC whose hash rate is 4 Thash/s .
All of this is the mathematical calculation , but in practical it takes days for 4 Ghash/s ASIC or 4 Thash/s ASIC to find one block !!
So why is this huge difference between the mathematical calculation and the practical thing ?!! is there something that I don't understand well ?
1547852679
Hero Member
*
Offline Offline

Posts: 1547852679

View Profile Personal Message (Offline)

Ignore
1547852679
Reply with quote  #2

1547852679
Report to moderator
1547852679
Hero Member
*
Offline Offline

Posts: 1547852679

View Profile Personal Message (Offline)

Ignore
1547852679
Reply with quote  #2

1547852679
Report to moderator
1547852679
Hero Member
*
Offline Offline

Posts: 1547852679

View Profile Personal Message (Offline)

Ignore
1547852679
Reply with quote  #2

1547852679
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
trendax
Full Member
***
Offline Offline

Activity: 129
Merit: 100


View Profile WWW
August 19, 2015, 10:35:50 AM
 #2

I think someone should check my work but 2^32 * difficulty = hashes to find a block on average

TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
August 19, 2015, 11:02:26 AM
 #3

Yep.

See: https://en.bitcoin.it/wiki/Difficulty#How_soon_might_I_expect_to_generate_a_block.3F

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1015


Mine at Jonny's Pool


View Profile WWW
August 19, 2015, 12:58:10 PM
 #4

I think someone should check my work but 2^32 * difficulty = hashes to find a block on average

Close enough for government work.  The actual formula for calculating expected time to solve a block is:
Code:
2^256 / (((2^224 - 2^208) / difficulty) * hashrate) = expected time in seconds to find a block

@shadyyaser you're forgetting about the target difficulty in your stats.  Use my formula, plug in the network difficulty and a hash rate, and you'll see that it's considerably different than what you're thinking.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!