Understanding the Nonce Range for Miners

4 replies 121 views
mr_ch4dMember
Posts: 48 · Reputation: 41
#1May 13, 2021, 04:58 PM
Hey everyone, I got some newbie questions... What’s the total nonce range that miners need to check for valid hashes? So I think it’s (nonce + extranonce + timestamp), which gives (2^96)? Am I on the right track? Nonce is (2^32), but how big are the extranonce and timestamp? Are they both 32 bits too? And what decides where a miner starts their nonce? Is the one in the block header the starting point?
4 Reply Quote Share
real_tokenFull Member
Posts: 3 · Reputation: 645
#2May 13, 2021, 08:57 PM
The nonce is indeed 32 bits. Changing the timestamp or other block details gives miners more nonce options. The miner picks the starting nonce. In pools, they get a specific nonce range assigned.
5 Reply Quote Share
mr_ch4dMember
Posts: 48 · Reputation: 41
#3May 13, 2021, 10:44 PM
Appreciate the response! Just to clarify, how big exactly are the extranonce and timestamp? Are they both 32 bits like I thought?
4 Reply Quote Share
wizard_2016Full Member
Posts: 127 · Reputation: 575
#4May 14, 2021, 01:23 AM
Here's some info for you: The extranonce isn’t set by the protocol, so it can be any size that fits into the coinbase transaction. The timestamp, however, is definitely 32 bits.
4 Reply Quote Share
mr_ch4dMember
Posts: 48 · Reputation: 41
#5May 14, 2021, 03:30 AM
That’s exactly what I needed, thanks a lot for the help!
3 Reply Quote Share

Related topics