Bitcoin Forum
May 14, 2024, 04:10:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Protocol question: Giga hashes per second but nonce only 32-bit...  (Read 1030 times)
thezerg (OP)
Legendary
*
Offline Offline

Activity: 1246
Merit: 1010


View Profile
April 13, 2012, 05:09:27 PM
 #1

How does that work?  Maybe if you run out of numbers in the nonce you get a new time?

Thx!
thezerg
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715659807
Hero Member
*
Offline Offline

Posts: 1715659807

View Profile Personal Message (Offline)

Ignore
1715659807
Reply with quote  #2

1715659807
Report to moderator
1715659807
Hero Member
*
Offline Offline

Posts: 1715659807

View Profile Personal Message (Offline)

Ignore
1715659807
Reply with quote  #2

1715659807
Report to moderator
1715659807
Hero Member
*
Offline Offline

Posts: 1715659807

View Profile Personal Message (Offline)

Ignore
1715659807
Reply with quote  #2

1715659807
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
April 13, 2012, 05:13:53 PM
 #2

How does that work?  Maybe if you run out of numbers in the nonce you get a new time?

Thx!
thezerg

Change "something". A bitcoin block header consists of:
Code:
Version 
Previous block hash
Merkle root
Timestamp
"Bits" (target in compact form)
Nonce (32-bit number)

There is no requirement to change the block header a particular way to attempt another hash but usually when you exhaust the nonce range you either

1) change extra nonce value in coinbase which results in a new merkle tree hash
2) change the timestamp

Pools usually do both to improve efficiency.

Each worker has a different merkle root and the pool allows the worker locally to increment time (n-time-rolling).
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!