Author

Topic: How big is the total nonce range? (Read 119 times)

member
Activity: 249
Merit: 83
So many numbers and so little time
May 17, 2024, 03: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.
legendary
Activity: 4466
Merit: 3391
May 17, 2024, 03:33:48 PM
#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.
member
Activity: 249
Merit: 83
So many numbers and so little time
May 17, 2024, 09:29:41 AM
#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.
newbie
Activity: 16
Merit: 5
May 17, 2024, 08:48:22 AM
#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.
member
Activity: 249
Merit: 83
So many numbers and so little time
May 17, 2024, 07:58:22 AM
#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.

Jump to: