What’s the total nonce range for mining?

4 replies 326 views
the_d3f1Full Member
Posts: 83 · Reputation: 655
#1Dec 11, 2020, 04:44 PM
Hey guys, I’ve got a few newbie questions that I hope someone can clear up for me... What’s the complete nonce range that a miner needs to go through to find a valid hash? Am I right in thinking that the total range a miner can tweak is like (nonce + extranonce + timestamp), which adds up to (2^96)? Or is there more to it than that? I get that nonce is (2^32), but what about extranonce and timestamp? Are they also 32-bit like I mentioned? And what kicks off the starting nonce for each miner? I know there’s a nonce in the block header, is that what’s used as the starting point or is that for something different? Appreciate any insights! G.
4 Reply Quote Share
Posts: 6 · Reputation: 110
#2Dec 11, 2020, 10:57 PM
32 bits Changes to the timestamp or other parts of the candidate block gives the miner more nonce space to play around with. The miner decides which nonce to start at. If in a pool you can have a nonce range allocated to you.
0 Reply Quote Share
the_d3f1Full Member
Posts: 83 · Reputation: 655
#3Dec 11, 2020, 11:59 PM
Thanks for your reply 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.
4 Reply Quote Share
paul2017Senior Member
Posts: 218 · Reputation: 1426
#4Dec 12, 2020, 05:48 AM
This should answer your question: 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.
3 Reply Quote Share
the_d3f1Full Member
Posts: 83 · Reputation: 655
#5Dec 12, 2020, 08:36 AM
That's what I was looking for. Thank you for your help.
4 Reply Quote Share

Related topics