Skip to main content

What Is the Difference between a Nonce and an Extranonce?

The nonce is a 32-bit field in the standard block header that miners iterate on to find a valid hash. The extranonce is a variable-length field contained within the Coinbase transaction, which itself is part of the Merkle Root.

When the 32-bit nonce is exhausted, the miner changes the extranonce. This modification creates a new Merkle Root, which in turn creates a new block header and allows the 32-bit nonce search to begin anew.

How Does the Complexity of 2 to the Power of 256 Compare to the Security of a 128-Bit Encryption Key?
What Are the Main Components of a Typical Block Header?
What Is the Purpose of a Nonce in Mining?
Is the Nonce in Ethereum the Same as the Nonce in Bitcoin Block Mining?