Start here · Five minutes
Proof of work and proof of stake
Two ways to make adding a block expensive. One burns electricity, the other locks up capital, and the choice shapes everything about a network.
- Proof of work costElectricity, spent outside the system
- Proof of stake costCapital, locked inside it
- Energy differenceMore than 99 percent
The problem both solve is the same: if anyone can add a block, anyone can add a fraudulent one. The answer is to make adding a block cost something, so that attacking the network costs more than it earns.
Proof of work
Miners compete to find a number that, combined with the block, produces a hash below a target. There is no shortcut; it is guessing, billions of times a second. The first to find one publishes the block and collects the reward. The difficulty adjusts so that blocks keep arriving at a steady rate as more or less computing power joins.
To rewrite history you would have to redo that work faster than the whole network produces new blocks. The security is bought with electricity, from outside the system.
Strengths: simple, proven since 2009, and the cost is external and verifiable by anyone with an electricity meter.
Weaknesses: large energy consumption, industrial concentration around cheap power, and specialised hardware.
Proof of stake
Validators lock up the network's own token. The protocol selects one to propose each block, roughly in proportion to stake, and others attest that it is valid. A validator that signs something invalid loses part of its stake, which is called slashing.
To attack the network you would need to control a large share of the staked tokens, and using that control to cheat destroys the value of the very tokens you staked. The security is bought with capital, from inside the system.
Strengths: more than 99 percent less energy, no specialised hardware, faster finality.
Weaknesses: wealth compounds because stake earns stake, staking concentrates with a few large operators, and the security depends on the token having value.
How to think about the choice
It is not a settled technical question with a right answer. Proof of work has a longer record and an external, physical cost. Proof of stake is dramatically more efficient and has now secured a very large network for years without failure.
Bitcoin will not change, for reasons that are as much about the identity of the network as about engineering. Ethereum changed in 2022 and nothing broke. Both facts are worth holding at once.
Terms used here
Read next
Long reads that use this
Tokens & Crypto
Mining and energy
What the electricity buys
Bitcoin mining consumes as much electricity as a mid-sized country, on purpose. Whether that is waste depends entirely on what you think the electricity is buying.
Tokens & Crypto
Ethereum
The computer that cut its power bill by 99 percent
In September 2022 Ethereum swapped its consensus mechanism while running, with billions of dollars on it, and nothing broke. What that bought, and what it cost, is still being worked out.
Tools
Tools for this
Hashrate, power, price
Mining Profitability
Daily bitcoin revenue, electricity cost and margin for any miner, from a single machine to a container, at the live bitcoin price and the network hashrate you enter..
OpenCompounding rewards
Staking Yield
How many tokens a staked position earns over time at a given reward rate, how compounding frequency changes it, and what the position is worth if the price moves..
Open