Proof-of-Work (PoW)
Proof-of-work, commonly abbreviated PoW, is the original consensus mechanism used by bitcoin and many other cryptocurrencies to validate transactions and add new blocks to a blockchain without relying on a central authority. Consensus mechanisms are needed because a decentralized network has no single party in charge, so the network needs a way for thousands of independent participants to agree on which transactions are valid and in what order they occurred.
In a proof-of-work system, participants known as miners compete to solve a complex mathematical puzzle using specialized computer hardware. This puzzle involves repeatedly guessing a number, called a nonce, and combining it with the data in a pending block, then running the result through a cryptographic hash function until the output meets a specific difficulty target. This process requires enormous amounts of trial and error, which translates directly into large amounts of computational power and electricity.
The first miner to find a valid solution gets to add the next block to the blockchain and receives a reward, typically consisting of newly created coins plus the transaction fees included in that block. Other nodes on the network can then quickly verify that the solution is correct, even though finding it required massive computational effort, since checking a proof-of-work solution is computationally easy even though finding one is hard.
This asymmetry between the difficulty of finding a solution and the ease of verifying it is what makes proof-of-work secure. To successfully attack the network, for example by attempting to reverse a transaction or spend the same coins twice, an attacker would need to control more computing power than the rest of the honest network combined, an attack scenario known as a 51 percent attack, which becomes prohibitively expensive on large, well-established networks like bitcoin.
The main criticism of proof-of-work is its heavy energy consumption, since the global network of miners collectively uses an enormous amount of electricity, comparable to the energy usage of some mid-sized countries. This environmental concern is one of the main reasons newer blockchains, and even Ethereum itself in 2022, have moved toward the more energy-efficient proof-of-stake mechanism, though proof-of-work remains the backbone securing bitcoin, still the largest cryptocurrency by market value, and its proponents argue that this energy expenditure is precisely what gives the network its unmatched security and censorship resistance.
| Term | What it means |
|---|---|
| Proof-of-work | Miners spend computing power. The cost is hardware and electricity. |
| Proof-of-stake | Validators lock up coins. The cost is the stake they stand to lose. |
| What both are for | Deciding whose block comes next, with no central authority. |