Bitcoin Forum
November 04, 2024, 06:39:06 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Block non-convergence soon?  (Read 1437 times)
mimarob (OP)
Full Member
***
Offline Offline

Activity: 354
Merit: 103



View Profile
December 26, 2010, 10:36:49 AM
 #1

hello!

am I rightly informed that the nonce is only 32 bits?

Does this in turn mean that there are "only" 2^32 or about 4 billion (4E9) combinations to try for each block?

If so, then when network hashing capacity reaches 4 000 000 kHash/sec the block would be solved in one second on average?

This contradicts the onlïne hash-rate calculator, which states about 4 hours, at present difficulty.

Sorry if this has been up before, but I'm really puzzled..

davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1008


1davout


View Profile WWW
December 26, 2010, 10:52:15 AM
 #2

The nonce overflows very often, but the timestamp changes often too Smiley, and even if it didn't the merkle root can

mimarob (OP)
Full Member
***
Offline Offline

Activity: 354
Merit: 103



View Profile
December 26, 2010, 11:10:08 AM
 #3

aha, so in general any given block with the nonce as the only variable is not likely to have a solution at all?

Are there some statistics on how often the non-nonce parts of the current block changes?
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1134


View Profile
December 26, 2010, 11:26:50 AM
 #4

There is an "extraNonce" part of the block. It's where the script would be in the generation transaction, called the coinbase data. When nonce overflows extraNonce is incremented.
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1100


View Profile
December 26, 2010, 03:37:12 PM
 #5

aha, so in general any given block with the nonce as the only variable is not likely to have a solution at all?

It is always possible that there is no solution for the entire range of nonce (0 - 0xffffffff).

However, the timestamp and extranonce are changed every few seconds, as is merkle tree root.  This helps avoid a situation where we get stuck with no solutions.

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
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!