Post
Topic
Board Bitcoin Technical Support
Re: A TECHNICAL question about blockchain, btc mining
by
gorkem2020
on 09/09/2018, 12:00:16 UTC
Just one more thing, so the nonce has nothing to do with the difficulty number right?  

Correct.



so nonce can be greater than difficulty value? they are not related at all? if they are not related what is the maximum number a nonce can be?

Currently, the difficulty is 6,727,225,469,722.
And the nonce is a 4 byte (32 bit) number. So max value = 4.294.967.295

The nonce CAN be greater than the difficulty IF the difficulty is extremely low.
But nonce and difficulty are not related at all..



when the miner decides to change something in the block?

When he has tried out all nonces without a single one leading to a hash below the current target.





isnt the difficulty 7,019,199,231,177.173 right now? not 6,727,225,469,722 


And I thought max value of a 32 bit can be 2,147,483,647 where did the 4,294,967,295 come from?