The Byzantine Generals Problem is a thought experiment in computer science that asks how a group of separated parties can reach a reliable agreement when some of them may be traitors who send false or conflicting messages. It was set out by Leslie Lamport, Robert Shostak and Marshall Pease in a 1982 paper in the journal ACM Transactions on Programming Languages and Systems, building on their 1980 work on reaching agreement in the presence of faults. In blockchains the problem is tackled partly with ideas from game theory, designing rewards and penalties so that honest behaviour pays better than cheating.
The problem is the theory; Byzantine fault tolerance (BFT) is the property that systems built to solve it have. It became widely known outside computer science after 2008, because a decentralised digital currency has to solve a version of it: strangers on the internet must agree on one history of payments without trusting each other or a central authority.
The Byzantine Generals Problem in plain terms
Several army generals surround a city, each camped on a different hill. They can only talk by sending runners between camps. They must all attack together or all retreat together; if only some attack, they lose. The trouble is that one or more generals may be traitors who tell some colleagues "attack" and others "retreat" to split the army.
The question is whether the loyal generals can follow a set of message rules that guarantees they all reach the same decision, and a sensible one, no matter what the traitors say. The same puzzle applies to computers in a network, where a faulty or hacked machine plays the role of the traitor.
The formal problem
Lamport and his co-authors framed it as a commanding general sending an order to lieutenants. A solution must meet two conditions:
- Agreement. All loyal lieutenants obey the same order.
- Validity. If the commander is loyal, every loyal lieutenant obeys the order the commander actually sent.
The paper's best-known result concerns "oral" messages, which a traitor can alter or forge when passing them on. With such messages, agreement is possible only if more than two-thirds of the generals are loyal. To cope with traitors, at least generals are needed. With three generals and one traitor, no rule can work: a loyal lieutenant cannot tell whether the commander or the other lieutenant is lying.
The paper also showed that "signed" messages change the picture. If every message carries a signature that cannot be forged, any number of traitors can be tolerated, because a lie can be traced to its author. Modern systems achieve this with a digital signature made with a private key, which anyone can check but nobody else can produce.
The problem in digital money
A ledger kept by one trusted party, such as a bank, avoids the problem by design: there is one record of truth. A distributed ledger kept by many independent parties does not. If some copies disagree, the network needs a rule for deciding which version of each account balance is right. Otherwise the same coin could be spent twice, the double-spend problem that defeated earlier attempts at a purely digital cryptocurrency.
The question is especially hard in a permissionless blockchain, where anyone can join and a single attacker could pretend to be thousands of generals. Classic solutions assumed a known, fixed list of participants, which open networks do not have.
Bitcoin's answer
The 2008 Bitcoin white paper, published under the name Satoshi Nakamoto, offered a practical solution for open networks. Instead of counting votes by identity, the Bitcoin blockchain counts computing effort through proof of work (PoW). Nodes follow the valid chain with the most accumulated work, so an attacker who wants to rewrite history must outspend the honest majority, which is the basis of the 51% attack threshold.
This approach trades certainty for openness. Agreement is probabilistic: each new block makes a past transaction harder to reverse, but no single moment makes it absolutely final. Temporary disagreements resolve themselves as one branch of a fork grows longer.
Other solutions
Several families of protocols address the problem in different settings:
- Classical BFT voting. Practical Byzantine Fault Tolerance (PBFT) and its successors use rounds of signed votes among known nodes and give immediate finality, at the cost of limits on group size.
- Stake-weighted voting. Proof of stake (PoS) networks combine BFT voting with economic deposits, so validators who sign conflicting messages can lose their stake.
- Federated trust. Federated Byzantine agreement (FBA) lets each node choose which others it trusts, forming overlapping quorums.
All of them share the same underlying insight from 1982: honest participants can only be protected if dishonest ones stay below a known share of the total, whether measured in machines, computing power or stake. That is why a wider spread of control is central to the security of any consensus mechanism.