Day 242Part 7: How Bitcoin Works

What Is Proof Of Work

Proof of work is Bitcoin’s consensus mechanism — the system by which thousands of independent computers around the world agree on the valid state of the blockchain without trusting each other.

The name is literal. To add a block to the blockchain, a miner must prove they did the work — the computational effort of finding a valid hash. The proof is the hash itself. Anyone can verify in milliseconds that the hash meets the required target. But producing that hash required billions of attempts. The proof is cheap to verify and expensive to produce. That asymmetry is the security.

Think of it like a lock that takes enormous effort to set but can be checked in a glance. The effort is the security. The verification is the consensus.

Why does this create trust between computers that don’t know each other?

Because cheating is expensive. To submit a fraudulent block, an attacker would need to produce a valid proof of work for that block — which requires real energy and real hardware. Failing makes them nothing. Succeeding produces a block that every honest node will reject if the transactions don’t follow the rules. The cost of cheating is real. The reward for cheating is nothing.

Honest mining, by contrast, is profitable. Follow the rules, find a valid block, collect the reward. The incentive to be honest is built into the economics.

This is what Satoshi solved that nobody had solved before. Not just a technical problem — an incentive design problem. How do you get thousands of self-interested strangers to cooperate honestly? Make honesty profitable and cheating expensive.

Tomorrow: why does mining use energy — and why that’s the point, not the problem.

— The Daily Bit

Part of The Daily Bit — 365 days to understanding Bitcoin.