• Hash256
  • Hash160
  • Reverse Bytes

Nonce A number used to help with mining.

The nonce is a field in the block header.

I call it "the mining field".

Nonce is an abbreviation of number used once.

What's it used for?

Miners adjust the nonce when they're trying to get the hash of their block headers below the target. (i.e. Get a valid Block Hash for their candidate block.)

All of the other fields in the block header are predetermined, so the nonce is what allows you to create different hash results. Block 404,104


Why is it called a "nonce"?

Just one of those terms used in cryptography, like Alice, Bob, and whatnot.

In cryptography, a nonce is an arbitrary number that may only be used once.

I know, I prefer "the mining field" too.


By Greg Walker,

Last Updated: 24 May 2019
  • 24 May 2019: Added Hashover comment system (basic functionality to test it out)
  • 26 Nov 2018: Added sub titles to every page.
  • 25 Nov 2018: Subtitles for pages in Glossary. Looks good.
  • 14 Mar 2018: Renamed block-id to block-hash, finally
  • 01 Nov 2017: glossary/nonce - added definition... 'number used once'
  • 28 Feb 2017: - added xlinks
  • 20 Jan 2017: - Rewrote, because target adjusts by itself, not from an internal difficulty value. Also added a handy svg diagram.
  • 13 Jan 2017: tidied up glossary pages - css, formatting, restructuring
  • 01 Jan 2017: Moved /manual/guide/ and /manual/reference/ to /guide/ and /glossary/

Hey there, it's Greg.

I'll let you know about cool website updates, or if something seriously interesting happens in bitcoin.

Don't worry, it doesn't happen very often.