Skip to content

Estimates only. Not tax, legal, or investment advice.

Learn › Cryptography and Digital Cash (High school and up)

The Byzantine Generals Problem

12 minute lesson · then a 4-question quiz

Add this lesson to a curriculum for a student, a group or a team.

The story

Imagine several generals camped around a city. They can win only if they all attack together or all retreat together. They can only communicate by messenger. Some generals, or some messengers, may be traitors who send different messages to different people. How can the loyal generals reach the same decision?

Leslie Lamport, Robert Shostak, and Marshall Pease described this in a 1982 computer science paper. The generals stand for computers in a network, and the traitors stand for machines that fail or act dishonestly.

What the classic results say

Computer scientists proved that, with a known set of participants and messages that can be authenticated, agreement is possible if enough of them are honest. In the classic setting without signatures, more than two-thirds of the participants must be honest. Practical systems based on these ideas, such as the Practical Byzantine Fault Tolerance algorithm published in 1999, are used in controlled settings where everyone knows who the participants are.

These methods struggle in an open network where anyone can join. A single attacker can pretend to be thousands of participants, called a Sybil attack, and outvote the honest ones.

Why this matters for money

A money system is a shared agreement about who owns what. If participants can lie, they might try to claim the same coin twice. Bitcoin's design made the voting power depend on something expensive to fake, computing work, rather than on how many identities someone creates. That lets an open network reach agreement without knowing who participates. The agreement is probabilistic: the longer a transaction has been buried under later blocks, the less likely it is to be reversed. Some computer scientists point out that this is a different, weaker kind of guarantee than classic Byzantine agreement, trading certainty for openness.

Key ideas

  • Byzantine faults mean participants may lie or fail in arbitrary ways.
  • Classic solutions need a known set of participants.
  • Open networks face Sybil attacks.
  • Bitcoin ties voting power to computing work, with probabilistic finality.

Try it with the free tools: The CFO Dad book

Quiz

Get 75% or better to finish this lesson. You can try as many times as you like.

1. What does the Byzantine Generals Problem describe?
2. Who published the problem in 1982?
3. What is a Sybil attack?
4. How does Bitcoin limit Sybil attacks?

Educational only. Not tax, legal, or investment advice. Numbers and rules change, so check current sources.