Proof of Work (PoW) is the mechanism Bitcoin uses to secure the blockchain and choose which version of history is valid.
In PoW, miners compete to solve a mathematical puzzle:
- A miner collects transactions and builds a candidate block.
- They repeatedly hash the block header with different inputs (called nonces) until the resulting hash is below a target value set by the network.
- Finding such a hash requires huge numbers of attempts, which means real computational work and energy use.
- When a miner finds a valid solution, it broadcasts the block. Other nodes can quickly verify that the work is correct.
This process secures Bitcoin in several ways:
- Hard to rewrite history
To change a past block, an attacker would need to redo the proof of work for that block and all blocks after it, then catch up and overtake the honest chain. If honest miners control most of the total computing power, this is extremely expensive. - Objective chain selection
Nodes do not rely on trust or voting. They simply follow the chain with the most cumulative proof of work, which is the one that required the most energy and computation to produce. - Economic alignment
Miners invest heavily in hardware and electricity. Their incentives are to follow the rules and protect the value of the system, because they are rewarded in Bitcoin and fees.
Proof of work is sometimes criticized for energy use, but its purpose is clear. It turns energy and computation into a wall that protects the history of transactions. This makes Bitcoin resistant to cheap manipulation and central control.