Nakamoto Consensus
Conjunto de regras que permite a uma blockchain concordar sobre seu histórico sem autoridade central, unindo prova de trabalho e a cadeia mais longa.
Key points
- Nakamoto Consensus is the set of rules that lets a network like Bitcoin's agree on its history without a central authority.
- It combines proof of work, which makes creating blocks costly, with the rule that the valid chain is the one that has accumulated the most work.
- It was the first practical solution to the problem of coordinating participants who do not trust each other on an open network.
What is Nakamoto Consensus?
Nakamoto Consensus is the mechanism introduced by Bitcoin so that independent participants, with no mutual trust, can agree on which version of the transaction record is valid. It provided a practical solution to a long-standing problem in computer science: how to coordinate an open network in which some participants may act in bad faith, without relying on a central arbiter.
How it works
The consensus combines two elements. The first is proof of work: to add a block, computational power must be spent to solve a hard problem, which makes producing blocks costly. The second is a choice rule: among competing versions of the history, the network adopts the chain that has accumulated the most work, usually the longest one.
Together, these rules make following the rules more profitable than trying to cheat them. Those who mine honestly are rewarded, while trying to rewrite the past would require redoing all the work of the affected blocks faster than the rest of the network, which is economically unfeasible on large chains. Agreement therefore emerges from incentives, not from an authority.
When two valid versions appear at the same time, the network naturally converges as new blocks accumulate on one of them, and the other is discarded.
Why it matters
Nakamoto Consensus is the innovation that made a decentralized, censorship-resistant digital currency possible. For anyone assessing the security of a proof-of-work network, understanding that protection comes from the cost of redoing the work helps gauge how difficult an attack would be.
Limitations
Nakamoto Consensus requires high energy consumption and offers only probabilistic confirmation: a transaction gains security over time, but is never absolutely irreversible right away. Small networks, with little accumulated work, remain vulnerable to reorganization attacks. These limitations drove the emergence of alternative consensus mechanisms. Even so, it was the mechanism that proved, in practice, that it is possible to coordinate an open network without mutual trust.