Bitcoin Forum
June 08, 2024, 10:16:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How big is the total nonce range?  (Read 87 times)
Nexus9090 (OP)
Member
**
Offline Offline

Activity: 117
Merit: 45

Beam me up Scotty


View Profile
May 17, 2024, 12:58:22 PM
 #1

Hope someone can help answer a couple of noob questions...

How big is the total nonce range that a miner has to scan to create a valid hash

Am I correct to think that the total adjustment range a miner can make is to say (nonce + extranonce + timestamp), a total of (2^96)?

Or is there more to it?

I know nonce is (2^32) but what size is extranonce and timestamp are they also 32bit as I've suggested?

Also, what determines the starting nonce for each miner. I know there's a nonce provided in the block header, is this what gets used as the starting point or is that for something else?

Thanks for your help

G.


Donations greatfully received : 3MbtxahpbkC1fGhvcWR7Ja38u8cwN9wzY8
Eleutheria
Newbie
*
Offline Offline

Activity: 16
Merit: 5


View Profile
May 17, 2024, 01:48:22 PM
Merited by ABCbits (2), vapourminer (1)
 #2

How big is the total nonce range that a miner has to scan to create a valid hash
32 bits

Am I correct to think that the total adjustment range a miner can make is to say (nonce + extranonce + timestamp), a total of (2^96)?
Changes to the timestamp or other parts of the candidate block gives the miner more nonce space to play around with.

Also, what determines the starting nonce for each miner. I know there's a nonce provided in the block header, is this what gets used as the starting point or is that for something else?
The miner decides which nonce to start at. If in a pool you can have a nonce range allocated to you.
Nexus9090 (OP)
Member
**
Offline Offline

Activity: 117
Merit: 45

Beam me up Scotty


View Profile
May 17, 2024, 02:29:41 PM
 #3

Thanks for your reply


Am I correct to think that the total adjustment range a miner can make is to say (nonce + extranonce + timestamp), a total of (2^96)?

Changes to the timestamp or other parts of the candidate block gives the miner more nonce space to play around with.

Understood. However the question is, how big are the extranonce and the timestamp, are they both 32 bit as well as I've assumed?

Thanks again.

Donations greatfully received : 3MbtxahpbkC1fGhvcWR7Ja38u8cwN9wzY8
odolvlobo
Legendary
*
Offline Offline

Activity: 4340
Merit: 3259



View Profile
May 17, 2024, 08:33:48 PM
Merited by ABCbits (2), vapourminer (1)
 #4

Understood. However the question is, how big are the extranonce and the timestamp, are they both 32 bit as well as I've assumed?

This should answer your question:
Eight bytes of extra nonce, plus the 4 bytes of "standard" nonce allow miners to explore a total 296 (8 followed by 28 zeros) possibilities per second without having to modify the timestamp. If, in the future, miners could run through all these possibilities, they could then modify the timestamp. There is also more space in the coinbase script for future expansion of the extra nonce space.

Note that the extra nonce is not part of the protocol, so really it can be any size as long as it fits in the coinbase transaction. The time stamp is 32 bits.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Nexus9090 (OP)
Member
**
Offline Offline

Activity: 117
Merit: 45

Beam me up Scotty


View Profile
May 17, 2024, 08:59:44 PM
 #5

Understood. However the question is, how big are the extranonce and the timestamp, are they both 32 bit as well as I've assumed?

This should answer your question:
Eight bytes of extra nonce, plus the 4 bytes of "standard" nonce allow miners to explore a total 296 (8 followed by 28 zeros) possibilities per second without having to modify the timestamp. If, in the future, miners could run through all these possibilities, they could then modify the timestamp. There is also more space in the coinbase script for future expansion of the extra nonce space.

Note that the extra nonce is not part of the protocol, so really it can be any size as long as it fits in the coinbase transaction. The time stamp is 32 bits.

That's what I was looking for. Thank you for your help.

Donations greatfully received : 3MbtxahpbkC1fGhvcWR7Ja38u8cwN9wzY8
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!