In short

Mining means changing a number called the nonce and hashing the block again and again until the result falls below the target, which shows up as a hash starting with enough zeros. There is no shortcut, so a valid block proves real work was done.

toy miner

Proof of work: try nonces until SHA256(SHA256(data + nonce)) starts with enough zeros. Each extra hex zero means about 16× more work.

Best hashPress mine.
Nonce –Hashes 0Speed –

Learn Bitcoin with real people.

Find meetups and Bitcoiners in your city, and ask the questions you'd never post online. Free to download on iPhone and Android.