Nonce

Revision as of 03:43, 4 November 2020 by Brendan (talk | contribs) (Punctuation only)

The "nonce" in a Bitcoin block is a 32-bit (4-byte) field, whose value is adjusted by Miners during the Proof of Work process in an effort to generate a block hash less than or equal to, the current target of the network. The rest of the fields, with the exception of the timestamp, may not be changed, as they have a defined meaning.

Any change to the block data (such as the nonce) will make the block hash completely different. Since it is believed infeasible to predict which combination of bits will result in the right hash, many different nonce values are tried, and the hash is recomputed for each value until a hash less than or equal to the current target of the network is found. The target required is also represented as the difficulty, where a higher difficulty represents a lower target. As this iterative calculation requires time and resources, the presentation of a block with a valid nonce value constitutes proof of work.

Attribution

This content is based on content sourced from https://en.bitcoin.it/wiki/Nonce under Creative Commons Attribution 3.0. Although it may have been extensively revised and updated, we acknowledge the original authors.