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.
What’s the total nonce range for mining?
4 replies 326 views
oracle_2017Member
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.
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.
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.
That's what I was looking for. Thank you for your help.
Related topics
- Looking for 3 examples of r, s, z and nonce data 19
- Bitcoin Core displaying coins (UTXOs) in a new tab 13
- Are you in favor of BIP-110? Let's get a Bitcoin poll going. 0
- Erlay seems to have some issues here’s a better proposal for a bitcoin protocol without invites 3
- New Optional Hourglass Implementation is Live 3
- Ways to earn some sats by contributing to bitcoin core development 5