How Mining Works

Bitcoin miners compete to find a "Golden Ticket" (a specific number called a Nonce).

  • Miners take the Block Header (Transactions + Prev Hash).
  • They add a random number (Nonce) to it.
  • They hash it. If the result starts with 4 Zeros, they win!
  • If not, they try the next number. Billions of times per second.
Target
0000...

Block Header

0000000000000000000358d246665ac69466671447a9926d22941566858a7066
9c394a48050730b7019597754f15a953493c44f366e6c4062605720926715202

This is the only thing you are allowed to change. Keep guessing!

Resulting Block Hash
Starts with ... (Need 0000)

Your CPU will rapidly guess nonces until the hash turns green.