← The Books

Agreeing Among Liars

Can a group of machines agree on a single decision when some of them actively lie, telling one thing to one peer and the opposite to another? And how many honest machines does it take to outvote each liar?

To find out, we follow four bandits holding the rocky crown of a hill. Knowing that one of their company may be a traitor, they must all agree whether to hold the hill or scatter, first using plain written slips, and then using wax seals that cannot be forged.

We find out by working with the problem directly: four processes, one of which may be faulty and send any message at all, first with plain messages and then with signed ones.

After Leslie Lamport, Robert Shostak and Marshall Pease, The Byzantine Generals Problem, 1982 · Marshall Pease, Robert Shostak and Leslie Lamport, Reaching Agreement in the Presence of Faults, 1980

By moonlight, the crown of Mount Phyle from just above: the chief stands inside the round wall of huge rough stones, one bandit waits down the hill outside it and another watches from the shadow of the wall
Where this book sits
This book retells
Leads to

Each link traces an idea that one paper borrowed from another. Point at a link, or tap it, to see how.

a paper this book retells a paper retold in another book a paper outside the series

The crown of Mount Phyle at night, seen from down its slope: two bandits stand small against the moonlit sky beside the ring wall on the scrub-covered summit
The crown of Mount PhyleThe model

Four bandits, out of sight of one anotherFour processes, linked only by point-to-point channels

Four bandits hold the rocky crown of Mount Phyle along with their stolen strongboxes. Bandit 1, their chief, sits inside a high stone ring wall with no gate, while Bandits 2, 3, and 4 keep lookout posts out on the wooded slopes, none within sight or earshot of another.* They can send word to one another only by trained rat, and tonight they have a single question to settle.Four processes must agree, and one of them may be faulty. Process P1 is the commander; P2, P3 and P4 are the lieutenants. None can see or hear another except by sending a message, and they have a single question to settle.

Only ratsEvery strip travels by trained rat directly from one post to one other post, because no bandit can see or hear any of the others.Only point-to-point messagesEvery message travels directly from one process to one other process; there is no broadcast.
Some bandits lieNobody on the crown dies, and the rat runs between the posts are short and reliable. Their trouble is dishonesty: some among them may lie about what they saw or what they were told.Some processes lieNo process crashes, and every message arrives promptly and reliably. The trouble is dishonesty: a faulty process may report anything at all about what it saw or what it was told.
Below the cragFour mercenaries camp at the foot of the same hill. Their trouble is the exact opposite: none of them ever lies, but any one of them may die in the night, and their messenger birds can take arbitrarily long.*The other modelIn the asynchronous model of the earlier results the trouble is the exact opposite: no process ever lies, but any one may crash, and messages can take arbitrarily long.*

Each end of Mount Phyle has a comrade it cannot count on: on the crown above, a comrade who may be lying; at the foot below, a comrade who may be dead. Once we see how the crown settles its business, we will know which of the two is the worse trouble to face.Each model has a participant that cannot be relied on: here, one that may lie; in the asynchronous model, one that may crash or merely be slow. Once we see how this model settles its business, we will know which of the two is the worse trouble to face.

One question, two answersThe problem

Hold, or scatterValue 0, or value 1

The question before the bandits is whether to hold the hill and keep their loot, or scatter into the hills and abandon it. What matters above all is that every honest bandit does the same thing: having half the gang hold while the other half scatters is worse than either choice alone.The question before the processes is which of two values, 0 or 1, each will act on. What matters above all is that every honest process acts on the same one: having half of them act on 0 while the other half act on 1 is worse than either choice alone.

Which choice is wiser is not the issue here, and holding does not require anyone to leave their post. Nobody dies on the crown, and we are not telling the story of a single battle. We are looking for a communication rule that guarantees agreement every time.Which value is wiser is not the issue here. No process crashes in this model, and there is no single outcome to optimise. We are looking for a communication rule that guarantees agreement every time.

Each of the four bandits forms an initial opinion of what should be done. The three guards at the lookout posts have each watched one approach up the slopes, while the chief inside the wall has seen only the sky and judges by the weight of the loot. Somehow, all four opinions must reach all four posts without being twisted along the way, which is difficult, because a liar can send "hold" to one comrade and "scatter" to another.Each of the four processes starts with an input value of its own. Somehow, all four inputs must reach all four processes without being twisted along the way, which is difficult, because a faulty process can send 0 to one peer and 1 to another.

To solve this, Lamport, Shostak, and Pease reduce the problem to a single building block (Byzantine Generals): one person acts as the chief (the commanding general) and sends an order to the other three, who act as the guards (the lieutenants). Whatever rule they use for this broadcast must satisfy two strict conditions, alongside one observation about the role of the chief:To solve this, Lamport, Shostak, and Pease reduce the problem to a single building block (the Byzantine Generals problem): one process acts as the commander and sends a value to the other three, the lieutenants. Whatever rule they use for this broadcast must satisfy two strict conditions, alongside one observation about the role of the commander:

The first condition

Honest guards obey one orderHonest lieutenants obey one value

Every honest guard must end up obeying the exact same order (interactive consistency condition IC1).Every honest lieutenant must end up obeying the exact same value (interactive consistency condition IC1).

The second condition

An honest chief is obeyedAn honest commander is obeyed

If the chief is honest, every honest guard must obey the exact order that the chief sent (condition IC2).If the commander is honest, every honest lieutenant must obey the exact value that the commander sent (condition IC2).

The chief is a jobThe commander is a role

Not a permanent rankNot a fixed process

Bandit 1 sits inside the ring wall, but for the purpose of sharing reports, whoever's opinion is currently being circulated acts as the chief for that round.Process P1 starts as the commander here, but for the purpose of sharing values, whichever process's value is currently being circulated acts as the commander for that round.

Treating the chief as a temporary role allows a single broadcast method to distribute everyone's opinion. If the four bandits run the broadcast four times, once with each bandit acting as chief to send their observation, then every honest bandit ends up with the exact same list of four observations. Once they all hold the same four reports, they can apply any shared rule (such as taking the majority vote) and are guaranteed to reach the same final decision.Treating the commander as a temporary role allows a single broadcast method to distribute everyone's value. If the four processes run the broadcast four times, once with each process acting as commander to send its input, then every honest process ends up with the exact same list of four values. Once they all hold the same four values, they can apply any shared rule (such as taking the majority) and are guaranteed to reach the same final decision.

Notice that the two conditions do very unequal work. When the chief is honest, the second condition automatically satisfies the first: if every honest guard obeys the chief's order, they all obey the same order. When the chief is a liar, however, the second condition demands nothing at all, yet the first condition still applies in full force! Honest guards must still agree on a single order even when the chief deliberately sends different orders to different posts. That case is the heart of the entire problem.Notice that the two conditions do very unequal work. When the commander is honest, the second condition automatically satisfies the first: if every honest lieutenant obeys the commander's value, they all obey the same value. When the commander is faulty, however, the second condition demands nothing at all, yet the first condition still applies in full force! Honest lieutenants must still agree on a single value even when the commander deliberately sends different values to different lieutenants. That case is the heart of the entire problem.

Worse still, a liar can behave in any way they please: they can send contradictory orders, stay silent, relay false reports about what others said, or coordinate lies with another traitor. Neither the honest bandits on the hill nor we as observers are ever told who the liars are.Worse still, a faulty process can behave in any way it pleases: it can send contradictory values, stay silent, relay false reports about what others said, or coordinate its lies with another faulty process. Neither the honest processes nor we as observers are ever told which ones are faulty.

Test the two conditions below on any scenario. Pick whose turn it is to act as chief, choose which bandit is secretly lying, and toggle the final decision of each guard. Watch which condition fails, and see how the second condition stops caring the moment the chief is the liar.Test the two conditions below on any scenario. Pick which process is acting as commander, choose which process is faulty, and toggle the final decision of each lieutenant. Watch which condition fails, and see how the second condition stops caring the moment the commander is the faulty one.

Test the two conditions suppose, then decide

Because the chief might be lying, a guard can never simply obey the strip that arrives from the chief. The natural remedy is for the guards to compare notes, asking one another what the chief told them before deciding. Whether that works depends entirely on how rats travel across the crown.Because the commander might be faulty, a lieutenant can never simply obey the value that arrives from the commander. The natural remedy is for the lieutenants to compare notes, asking one another what the commander told them before deciding. Whether that works depends entirely on how messages travel between the processes.

How word travelsHow messages travel

The rats in the wallReliable channels and synchronous rounds

On the crown, every word travels by trained rat, and a rat's run is short and predictable. That timing guarantee is what allows the guards to ask one another what the chief said and count on getting an answer before they have to act.Every message travels over a direct channel, and a channel's delay is short and predictable. That timing guarantee is what allows the lieutenants to ask one another what the commander said and count on getting an answer before they have to act.

The paths over the rocks and through the chinks of the stone wall are direct, and no rat ever takes longer than a single turn of a sandglass. At dusk, before taking up their posts, all four bandits turned their sandglasses together, and each flips their glass again the instant it runs dry. One turn of the glass defines a synchronous round: within a round, everyone who has a strip to send sends it, and every strip sent is guaranteed to arrive before the sand runs out.The channels are direct, and no message ever takes longer than a fixed bound. All four processes start their clocks at the same signal, and each starts a new round the instant the previous one ends. One round defines a synchronous round: within a round, every process that has a message to send sends it, and every message sent is guaranteed to arrive before the round ends.

Each bandit keeps rats trained to run to each of the other three posts. To send word, a bandit writes a strip, ties it to a rat using a cord knotted with their own post number, and lets the rat go. In the paper's terms, these plain strips are called oral messages, and the rats and sandglasses provide three essential guarantees (assumptions A1–A3):Each process has a channel to each of the other three. To send a message, a process writes its value and puts it on the channel, and the receiver knows which channel it arrived on. In the paper's terms, these plain messages are called oral messages, and the channels and synchronous rounds provide three essential guarantees (assumptions A1–A3):

At dusk inside the stone ring: the chief kneels by an open strongbox of loot on the paved floor, more iron-bound strongboxes on the low shelf against the wall
What a rat gives · firstWhat a channel gives · first

It arrives intact

Every strip that is sent arrives at its destination, and arrives exactly as its sender wrote it (assumption A1).Every message that is sent arrives at its destination, exactly as its sender wrote it (assumption A1).

What a rat gives · secondWhat a channel gives · second

The knots name the senderThe channel names the sender

Each rat runs on a dedicated line and carries the sender's knotted cord, so a receiver always knows which post sent a strip, no one can impersonate another post (assumption A2).Each channel is dedicated to one pair of processes, so a receiver always knows which process sent a message, no one can impersonate another process (assumption A2).

What a rat gives · thirdWhat a channel gives · third

Silence can be detected

Because every rat arrives before the sandglass empties, if no rat has arrived from a post when the round ends, nothing was sent from that post (assumption A3).Because every message arrives before the round ends, if no message has arrived from a process when the round ends, nothing was sent from that process (assumption A3).

The first two guarantees come from having reliable point-to-point channels. The third guarantee is the crucial one: it comes from rounds of fixed length and bounded run times, the very guarantee that the mercenaries down at the foot of the hill lack.* Because silence is detectable at the end of a round, the bandits can assign it a fixed default meaning so a liar cannot stall the group by sending nothing: if no strip arrives before the glass runs out, it counts as hold. ("Hold" is chosen purely as a convention; any fixed default order works just as well.)The first two guarantees come from having reliable point-to-point channels. The third guarantee is the crucial one: it comes from synchronous rounds and bounded message delays, the very guarantee that the asynchronous model lacks.* Because silence is detectable at the end of a round, processes can assign it a fixed default meaning so a faulty process cannot stall the group by sending nothing: if no message arrives before the round ends, it counts as 0. (0 is chosen purely as a convention; any fixed default value works just as well.)

At a lookout post at dusk, a bandit crouches behind the rough dry-stone breastwork, the scrubby slope beyond it and the pale sea on the horizon

What plain strips do not provide is any way to verify the truth of a forwarded report. A strip says whatever its writer chooses to write on it. When Bandit 3 sends a rat to Bandit 2 claiming, "The chief told me to scatter," the knots on the cord prove that the strip came from Bandit 3, but nothing proves that the chief actually told Bandit 3 to scatter.What plain messages do not provide is any way to verify the truth of a forwarded report. A message says whatever its sender chooses to put in it. When P3 sends P2 the report “P1 told me the value was 1,” the channel proves that the message came from P3, but nothing proves that P1 actually told P3 the value was 1.

Run a single round of rats in three different ways below. First, see what happens when everyone acts honestly. Second, see what an empty sandglass tells Bandit 3 when the chief stays silent. Third, see what Bandits 2 and 4 are left holding when Bandit 3 lies while relaying the chief's order.Run a single round in three different ways below. First, see what happens when everyone acts honestly. Second, see what the end of the round tells P3 when the commander stays silent. Third, see what P2 and P4 are left holding when P3 lies while relaying the commander's value.

One round of rats the glass runs outOne round of messages the round ends

H on a rat is a strip saying hold, S a strip saying scatter. The chief's order is scatter.Each lane is one process, with real time running left to right. Each arrow is a message, labelled with the value it carries, 0 or 1; each round is a shaded band. The commander's value is 1.

Choose what happens in the round.

So the guards can compare notes, and silence is automatically turned into a default answer, but no one can tell whether a peer's forwarded strip is honest or fabricated. To see why this matters, let us test the smallest nontrivial group: one chief and two guards, where one of the three is a liar.So the lieutenants can compare notes, and silence is automatically turned into a default value, but no one can tell whether a peer's forwarded message is honest or fabricated. To see why this matters, let us test the smallest nontrivial group: one commander and two lieutenants, where one of the three is faulty.

The smallest party

Three cannot be brought to agree

In a party of three, one chief and two guards, with a single liar among them, comparing plain strips cannot bring the two honest bandits to agree. In fact, no method using plain strips ever can.With three processes, one commander and two lieutenants, with a single faulty process among them, comparing plain messages cannot bring the two honest processes to agree. In fact, no method using plain messages ever can.

To see why, stand at the post of an honest guard, Bandit 2, and compare two possible nights. On the first night, the chief is honest and sends "hold" to both guards. Bandit 3, however, is a liar, and tells Bandit 2, "The chief told me to scatter." Because the chief is honest on this night, our second condition requires Bandit 2 to obey the chief's true order and hold.To see why, stand at an honest lieutenant, P2, and compare two possible executions. In the first execution, the commander is honest and sends 0 to both lieutenants. P3, however, is faulty, and tells P2, “The commander told me 1.” Because the commander is honest in this execution, our second condition requires P2 to obey the commander's true value and decide 0.

On the second night, the roles of liar and honest bandit are swapped: the chief is the liar, sending "hold" to Bandit 2 and "scatter" to Bandit 3, while Bandit 3 is completely honest and truthfully reports to Bandit 2, "The chief told me to scatter." Step through the buttons below and compare what Bandit 2 receives on the two nights.On the second execution, the roles are swapped: the commander is the faulty process, sending 0 to P2 and 1 to P3, while P3 is completely honest and truthfully reports to P2, “The commander told me 1.” Step through the buttons below and compare what P2 receives in the two executions.

Two nights seen from bandit 2's postTwo executions seen by P2

First nightFirst execution

Suppose the chief is honest and bandit 3 lies.Suppose the commander is honest and P3 is faulty.

bandit 2 holds: nothing yetP2 holds: nothing yet
Second nightSecond execution

Suppose the chief lies and bandit 3 is honest.Suppose the commander is faulty and P3 is honest.

bandit 2 holds: nothing yetP2 holds: nothing yet

■ hold ■ scatter   A strip's word is what it says the chief sent.■ 0 ■ 1   A message’s value is what it says the commander sent.

Press the buttons in turn.

On both nights, Bandit 2 ends up holding the exact same two strips: "hold" directly from the chief, and a report from Bandit 3 saying "the chief sent me scatter." Because the two nights look identical from Bandit 2's post, Bandit 2 must make the same decision in both. And since the first night requires Bandit 2 to obey the honest chief and hold, Bandit 2 must also hold on the second night.In both executions, P2 ends up holding the exact same two messages: 0 directly from the commander, and a report from P3 saying “the commander sent me 1.” Because the two executions look identical from P2, P2 must make the same decision in both. And since the first execution requires P2 to obey the honest commander and decide 0, P2 must also decide 0 in the second execution.

Now apply the exact same reasoning to Bandit 3. Compare the second night with a mirror-image night where the chief honestly sends "scatter" to both guards and Bandit 2 lies. To obey the honest chief in that mirror night, Bandit 3 must scatter whenever they hear "scatter" from the chief and "hold" from Bandit 2. Consequently, on the second night, where both guards are honest and the chief lied, Bandit 2 holds while Bandit 3 scatters, violating the first condition.Now apply the exact same reasoning to P3. Compare the second execution with a mirror-image execution where the commander honestly sends 1 to both lieutenants and P2 is faulty. To obey the honest commander in that mirror execution, P3 must decide 1 whenever it hears 1 from the commander and 0 from P2. Consequently, in the second execution, where both lieutenants are honest and the commander is faulty, P2 decides 0 while P3 decides 1, violating the first condition.

The core obstacle is an indistinguishability trap at the guard's post: a lying chief and a lying fellow guard leave an honest guard holding the exact same pair of conflicting strips, yet the two situations demand opposite actions.The core obstacle is an indistinguishability trap at the lieutenant: a faulty commander and a faulty fellow lieutenant leave an honest lieutenant holding the exact same pair of conflicting messages, yet the two situations demand opposite decisions.

As Lamport, Shostak, and Pease note, this informal two-round picture explains the intuition, while their 1980 paper supplies the full mathematical proof showing that no number of additional rounds of plain strips can ever break the tie. Three participants simply cannot tolerate one liar, so the question is how many it takes.As Lamport, Shostak, and Pease note, this informal two-round picture explains the intuition, while their 1980 paper supplies the full mathematical proof showing that no number of additional rounds of plain messages can ever break the tie. Three processes simply cannot tolerate one faulty process, so the question is how many it takes.

Proof — that three cannot be brought to agree

The two conditions are the paper's IC1 and IC2, for a commanding general and two lieutenants communicating by oral messages with at most one traitor. Scenarios A, B, and C correspond to the three nights above; the rigorous multi-round proof appears in Pease, Shostak, and Lamport (1980). Claim. No oral-message protocol allows three participants to satisfy both IC1 and IC2 in the presence of one traitor.

  1. Suppose for contradiction that some protocol works for three participants with up to one liar: all honest guards obey the same order (IC1), and an honest chief's order is obeyed by every honest guard (IC2).
  2. Scenario A. The chief is honest and sends hold to both guards; the second guard lies and reports the chief sent me scatter.
  3. Scenario B. The chief is the liar, sending hold to the first guard and scatter to the second guard; both guards are honest and report truthfully what they received.
  4. The first guard receives the exact same messages in Scenario A and Scenario B, and so must make the same decision in both. In Scenario A the chief is honest, so by IC2 the first guard must decide hold; therefore the first guard also decides hold in Scenario B.
  5. Scenario C (the mirror of A). The chief is honest and sends scatter to both guards, while the first guard lies and reports hold. By IC2, the second guard must decide scatter in Scenario C. Because Scenario B looks identical to Scenario C from the second guard's perspective, the second guard also decides scatter in Scenario B.
  6. In Scenario B, both guards are honest, yet the first decides hold and the second decides scatter, violating IC1.∎
Proof — that three cannot be brought to agree

The two conditions are the paper's IC1 and IC2, for a commanding general and two lieutenants communicating by oral messages with at most one traitor. Scenarios A, B, and C correspond to the three executions above; the rigorous multi-round proof appears in Pease, Shostak, and Lamport (1980). Claim. No oral-message protocol allows three participants to satisfy both IC1 and IC2 in the presence of one traitor.

  1. Suppose for contradiction that some protocol works for three participants with up to one traitor: all honest lieutenants obey the same value (IC1), and an honest commander's value is obeyed by every honest lieutenant (IC2).
  2. Scenario A. The commander is honest and sends 0 to both lieutenants; the second lieutenant is a traitor and reports the commander sent me 1.
  3. Scenario B. The commander is the traitor, sending 0 to the first lieutenant and 1 to the second lieutenant; both lieutenants are honest and report truthfully what they received.
  4. The first lieutenant receives the exact same messages in Scenario A and Scenario B, and so must make the same decision in both. In Scenario A the commander is honest, so by IC2 the first lieutenant must decide 0; therefore the first lieutenant also decides 0 in Scenario B.
  5. Scenario C (the mirror of A). The commander is honest and sends 1 to both lieutenants, while the first lieutenant is a traitor and reports 0. By IC2, the second lieutenant must decide 1 in Scenario C. Because Scenario B looks identical to Scenario C from the second lieutenant's perspective, the second lieutenant also decides 1 in Scenario B.
  6. In Scenario B, both lieutenants are honest, yet the first decides 0 and the second decides 1, violating IC1.∎
What a liar costsWhat a traitor costs

Four bandits to a liarMore than three processes per traitor

With plain strips, tolerating any number of liars requires strictly more than three times as many participants, at least one more than three times the number of liars. One liar requires at least four bandits, two liars require seven, and three liars require ten. Because the crown of Mount Phyle has four bandits, it can handle one liar and no more.With plain messages, tolerating m traitors requires strictly more than 3m processes, at least 3m + 1 in all. One traitor requires at least four processes, two traitors require seven, and three traitors require ten. Because this system has four processes, it can handle one traitor and no more.

This general bound follows directly from the impossibility of three. Suppose someone claimed to have an arrangement that could tolerate some number of liars among no more than three times as many participants. Then three real bandits (one of whom is a liar) could simulate that entire arrangement among themselves! Each of the three real bandits would simply play the role of at most a third of the simulated participants in their head. Because only one real bandit is a liar, at most a third of the simulated participants would lie, which is exactly the number the hypothetical arrangement claims to handle. The three real bandits would then reach agreement despite one liar, which we already know is impossible.This general 3m + 1 bound follows directly from the impossibility of three. Suppose someone claimed to have a protocol that could tolerate m traitors among 3m or fewer processes. Then three real processes (one of which is a traitor) could simulate that entire protocol among themselves! Each of the three real processes would simply play the role of at most m simulated processes. Because only one real process is a traitor, at most m simulated processes would be faulty, which the hypothetical protocol claims to handle. The three real processes would then reach agreement despite one traitor, which we already know is impossible.

Even weakening the goal to approximate agreement does not reduce this headcount cost, because any approximate agreement arrangement can be converted back into exact agreement. Use the buttons below to see what each additional liar costs in total bandits and in rounds of exchanged strips.Even weakening the goal to approximate agreement does not reduce this headcount cost, because any approximate agreement protocol can be converted back into exact agreement. Use the buttons below to see what each additional traitor costs in total processes and in rounds of exchanged messages.

The price of a liar press and readThe price of a traitor press and read

1liars to beartraitors to bear 4bandits with plain slipsprocesses with plain messages 2rounds of reportsrounds of messages

The impossibility proof tells us what cannot be done with three times as many participants as liars, or fewer. Once we have more than that, however, Lamport, Shostak, and Pease give an arrangement that always works: we call it the Repeating (the paper's recursive oral-message algorithm, OM). It relies on one simple rule called the greater count (a majority function): when a guard collects a set of reports, if a majority of them agree on the same order, the guard chooses that order; otherwise, if there is a tie, the guard falls back to "hold."The impossibility proof tells us what cannot be done with 3m or fewer processes. Once we have at least 3m + 1 processes, however, Lamport, Shostak, and Pease give an algorithm that always works: OM(m), the paper's recursive oral-message algorithm. It relies on one simple rule, majority: when a lieutenant collects a set of values, if a majority of them agree on the same value, the lieutenant chooses that value; otherwise, if there is a tie, the lieutenant falls back to 0.

For four bandits tolerating one liar (OM(1)), the Repeating takes two rounds: in Round 1, the chief sends an order to all three guards; in Round 2, each guard relays what they heard from the chief to the other two guards; finally, each guard takes the greater count of the three reports at their post (the direct strip from the chief plus the two relayed strips from their fellow guards). Scroll through the diagram below to see how this outvotes a lying guard, and how it forces agreement even when the chief is the liar.For four processes tolerating one traitor (OM(1)), the algorithm takes two rounds: in Round 1, the commander sends a value to all three lieutenants; in Round 2, each lieutenant relays what it heard from the commander to the other two lieutenants; finally, each lieutenant takes the majority of the three values it holds (the direct message from the commander plus the two relayed messages from its fellow lieutenants). Scroll through the diagram below to see how this outvotes a faulty lieutenant, and how it forces agreement even when the commander is the traitor.

1 · Four bandits1 · Four processes

A chief and three guardsA commander and three lieutenants

Bandit 1 acts as the chief for this broadcast, and Bandits 2, 3, and 4 are the three guards. Each bandit's timeline runs outward from the center as time progresses. Blue strips say hold; red strips say scatter.P1 acts as the commander for this broadcast, and P2, P3 and P4 are the three lieutenants. Each process's timeline is a lane, with real time running left to right. Blue messages carry 0; red messages carry 1.

2 · First round

The chief sends the orderThe commander sends its value

First, suppose the chief is honest and Bandit 3 is the liar. In Round 1, the chief sends the true order, scatter, to all three guards.First, suppose the commander is honest and P3 is the traitor. In Round 1, the commander sends its true value1, to all three lieutenants.

3 · Second round

Each guard relays what they heardEach lieutenant relays what it heard

In Round 2, each guard tells the other two guards what the chief sent them. Honest Bandits 2 and 4 truthfully relay scatter. Lying Bandit 3 writes hold to both of them, which a plain strip cannot prevent.In Round 2, each lieutenant tells the other two what the commander sent it. Honest P2 and P4 truthfully relay 1. Traitor P3 sends 0 to both of them, which a plain message cannot prevent.

4 · The greater count4 · Majority

An honest chief is obeyedAn honest commander is obeyed

Now Bandit 2 holds three accounts: scatter directly from the chief, hold from Bandit 3, and scatter from Bandit 4. The greater count (two out of three) is scatter. Bandit 4 holds the exact same two-to-one majority and also chooses scatter. The liar's false report is simply outvoted!Now P2 holds three values: 1 directly from the commander, 0 from P3, and 1 from P4. The majority (two out of three) is 1. P4 holds the exact same two-to-one majority and also chooses 1. The traitor’s false report is simply outvoted!

5 · Another night5 · Another execution

Suppose the chief liesSuppose the commander is the traitor

Now consider the harder case: the chief is the liar, and sends conflicting orders in Round 1, scatter to Bandit 2, hold to Bandit 3, and scatter to Bandit 4. Since there is only one liar on the hill, all three guards are honest.Now consider the harder case: the commander is the traitor, and sends conflicting values in Round 1, 1 to P2, 0 to P3, and 1 to P4. Since there is only one traitor, all three lieutenants are honest.

6 · Second round

Every guard relays faithfullyEvery lieutenant relays faithfully

In Round 2, because all three guards are honest, each guard truthfully tells the other two exactly what the chief sent them. As a result, every guard ends up holding the exact same three reports: scatter (from Post 2), hold (from Post 3), and scatter (from Post 4).In Round 2, because all three lieutenants are honest, each tells the other two exactly what the commander sent it. As a result, every lieutenant ends up holding the exact same three values: 1 (via P2), 0 (via P3), and 1 (via P4).

7 · The greater count7 · Majority

All three guards go the same wayAll three lieutenants decide alike

Every guard holds two reports of scatter and one report of hold, so the greater count at every post is scatter. Notice that nobody had to figure out who lied: by ensuring all honest guards hold the same set of reports, the majority vote forces them to move together.Every lieutenant holds two values of 1 and one value of 0, so the majority at every process is 1. Notice that nobody had to figure out which process was the traitor: by ensuring all honest lieutenants hold the same set of values, the majority vote forces them to decide alike.

In both cases, the honest guards finish in complete agreement, and whenever the chief is honest they obey the chief's order. Even so, the price of using plain strips is steep: every additional liar requires three more bandits and another round of relayed reports. All of that expense stems from a single weakness, that anyone relaying a plain strip can quietly rewrite it. The remedy is a strip that cannot be altered.In both cases, the honest lieutenants finish in complete agreement, and whenever the commander is honest they obey its value. Even so, the price of plain messages is steep: every additional traitor requires three more processes and another round of relayed messages. All of that expense stems from a single weakness, that anyone relaying a plain message can quietly rewrite it. The remedy is a message that cannot be altered.

Proof — that fewer than four bandits to a liar cannot be made to work

Let n be the total number of participants and m the maximum number of liars the protocol tolerates. The two conditions are IC1 and IC2. Claim. No oral-message protocol can tolerate m liars when n ≤ 3m.

  1. Suppose for contradiction that a protocol tolerates m liars among n ≤ 3m simulated participants (call them parts).
  2. Have three real bandits, one of whom is a liar, simulate those n parts: the real chief simulates the parts' chief plus at most m − 1 simulated guards, and each of the two real guards simulates at most m simulated guards. Since n ≤ 3m, all n parts can be partitioned this way.
  3. Messages between two parts simulated by the same bandit are passed silently inside that bandit's head; messages between parts simulated by different bandits are sent by rat and arrive intact and properly attributed.
  4. Because at most one real bandit is a liar, and that bandit simulates at most m parts, at most m simulated parts behave dishonestly. By assumption, the protocol satisfies IC1 and IC2 among the simulated parts.
  5. By IC1, all parts simulated by an honest bandit agree on the same order, which that real bandit adopts; by IC2, if the real chief is honest, all parts simulated by the real chief are honest, so every honest part (and thus every honest real bandit) obeys the real chief's order. Thus three real bandits solve Byzantine agreement against one liar, which is impossible.∎
Proof — that no algorithm tolerates m traitors among 3m or fewer processes

Let n be the total number of participants and m the maximum number of traitors the protocol tolerates. The two conditions are IC1 and IC2. Claim. No oral-message protocol can tolerate m traitors when n ≤ 3m.

  1. Suppose for contradiction that a protocol tolerates m traitors among n ≤ 3m simulated participants (call them parts).
  2. Have three real processes — one of whom is a traitor — simulate those n parts: the real commander simulates the parts' commander plus at most m − 1 simulated lieutenants, and each of the two real lieutenants simulates at most m simulated lieutenants. Since n ≤ 3m, all n parts can be partitioned this way.
  3. Messages between two parts simulated by the same process are passed silently inside that process's head; messages between parts simulated by different processes are sent over a channel and arrive intact and properly attributed.
  4. Because at most one real process is a traitor, and that process simulates at most m parts, at most m simulated parts behave dishonestly. By assumption, the protocol satisfies IC1 and IC2 among the simulated parts.
  5. By IC1, all parts simulated by an honest process agree on the same value, which that real process adopts; by IC2, if the real commander is honest, all parts simulated by the real commander are honest, so every honest part (and thus every honest real process) obeys the real commander's value. Thus three real processes solve Byzantine agreement against one traitor, which is impossible.∎
The Repeating, stated formally

The Repeating for m liars is the paper's recursive algorithm OM(m), and the greater count is its function majority. Guarantee. OM(m) satisfies IC1 and IC2 for any n > 3m in the presence of at most m traitors.

  1. (1) The chief sends its order to every guard.
  2. (2) For each guard i, let vi be the order received from the chief (or hold if no slip arrived). If m = 0, guard i immediately obeys vi. Otherwise (m > 0), guard i acts as the chief in OM(m − 1) to send vi to the remaining n − 2 guards.
  3. (3) For each i, once all OM(m − 1) sub-broadcasts finish, guard i holds its own vi together with the n − 2 values vj (j ≠ i) obtained from the other guards' OM(m − 1) broadcasts, and obeys majority(v1, …, vn−1).
OM(m), stated formally

OM(m) is the paper's recursive oral-message algorithm for m traitors, and its decision rule is the function majority. Guarantee. OM(m) satisfies IC1 and IC2 for any n > 3m in the presence of at most m traitors.

  1. (1) The commander sends its value to every lieutenant.
  2. (2) For each lieutenant i, let vi be the value received from the commander (or 0 if no message arrived). If m = 0, lieutenant i immediately obeys vi. Otherwise (m > 0), lieutenant i acts as the commander in OM(m − 1) to send vi to the remaining n − 2 lieutenants.
  3. (3) For each i, once all OM(m − 1) sub-broadcasts finish, lieutenant i holds its own vi together with the n − 2 values vj (j ≠ i) obtained from the other lieutenants’ OM(m − 1) broadcasts, and obeys majority(v1, …, vn−1).
Proof — that the Repeating meets both conditions above the bound

Let n be the number of participants, m the recursion depth of OM(m), k the actual number of traitors present, and v the chief's order. Claim. OM(m) satisfies IC1 and IC2 whenever n > 3m and k ≤ m.

  1. Lemma 1. For any m and k, OM(m) satisfies IC2 (an honest chief is obeyed) whenever n > 2k + m and at most k traitors are present. Proof by induction on m: For m = 0, an honest chief sends v directly and every honest guard obeys it. Suppose the lemma holds for m − 1.
  2. In OM(m), the honest chief sends v to all n − 1 guards. Each honest guard j then runs OM(m − 1) among the n − 1 guards to relay v. Since n − 1 > 2k + (m − 1), the induction hypothesis guarantees that every honest guard obtains vj = v for every honest guard j.
  3. Because n − 1 > 2k, strictly more than half of the n − 1 guards are honest. Thus a strict majority of the n − 1 values held by each honest guard equal v, and majority returns v.
  4. Main Theorem (by induction on m). For m = 0 (k = 0), no one lies and both IC1 and IC2 hold trivially. For m > 0, if the chief is honest, setting k ≤ m gives n > 3m ≥ 2k + m, so Lemma 1 guarantees IC2, which immediately implies IC1.
  5. If the chief is a traitor, then at most m − 1 of the guards are traitors, and there are n − 1 > 3m − 1 > 3(m − 1) guards. By the induction hypothesis applied to OM(m − 1), for every guard j's sub-broadcast, all honest guards obtain the exact same relayed value vj.
  6. Consequently, every honest guard holds the exact same vector of values (v1, …, vn−1) and computes the exact same majority, satisfying IC1 (while IC2 holds vacuously because the chief is faulty).∎
Proof — that OM(m) meets both conditions above the bound

Let n be the number of participants, m the recursion depth of OM(m), k the actual number of traitors present, and v the commander's value. Claim. OM(m) satisfies IC1 and IC2 whenever n > 3m and k ≤ m.

  1. Lemma 1. For any m and k, OM(m) satisfies IC2 (an honest commander is obeyed) whenever n > 2k + m and at most k traitors are present. Proof by induction on m: For m = 0, an honest commander sends v directly and every honest lieutenant obeys it. Suppose the lemma holds for m − 1.
  2. In OM(m), the honest commander sends v to all n − 1 lieutenants. Each honest lieutenant j then runs OM(m − 1) among the n − 1 lieutenants to relay v. Since n − 1 > 2k + (m − 1), the induction hypothesis guarantees that every honest lieutenant obtains vj = v for every honest lieutenant j.
  3. Because n − 1 > 2k, strictly more than half of the n − 1 lieutenants are honest. Thus a strict majority of the n − 1 values held by each honest lieutenant equal v, and majority returns v.
  4. Main Theorem (by induction on m). For m = 0 (k = 0), no one is faulty and both IC1 and IC2 hold trivially. For m > 0, if the commander is honest, setting k ≤ m gives n > 3m ≥ 2k + m, so Lemma 1 guarantees IC2, which immediately implies IC1.
  5. If the commander is a traitor, then at most m − 1 of the lieutenants are traitors, and there are n − 1 > 3m − 1 > 3(m − 1) lieutenants. By the induction hypothesis applied to OM(m − 1), for every lieutenant j's sub-broadcast, all honest lieutenants obtain the exact same relayed value vj.
  6. Consequently, every honest lieutenant holds the exact same vector of values (v1, …, vn−1) and computes the exact same majority, satisfying IC1 (while IC2 holds vacuously because the commander is faulty).∎
A strip that cannot be alteredA message that cannot be altered

The seal ringsSigned messages

Everything changes once the bandits use strips that cannot be altered without detection. Each bandit on the crown wears a signet ring carved with their post number. When sending an order under seal, its writer stamps it in wax, and anyone relaying that strip stamps their own seal beside the previous ones.Everything changes once the processes use messages that cannot be altered without detection. Each process has a signature of its own. When a process sends a value, it signs it, and any process relaying that message adds its own signature beside the previous ones.

Thus a strip reading hold : 1 : 2 carries Bandit 1's original order to hold, countersigned and forwarded by Bandit 2, and its chain of wax impressions records every hand it has passed through. In the paper's terms, these are signed messages (assumption A4), and their rules are simple:Thus a message reading 0 : 1 : 2 carries P1’s original value 0, countersigned and forwarded by P2, and its chain of signatures records every process it has passed through. In the paper's terms, these are signed messages (assumption A4), and their rules are simple:

A seal · firstA signature · first

It cannot be forged

An honest bandit's wax seal cannot be counterfeited by anyone else, and any change to the words on a sealed strip breaks the seal.An honest process’s signature cannot be forged by anyone else, and any change to the contents of a signed message invalidates it.

A seal · secondA signature · second

Anyone can verify it

Every bandit on the hill can inspect a wax impression and tell whose signet ring made it.Every process can check a signature and tell which process made it.

A seal · what is not assumedA signature · what is not assumed

Traitors may collude or stay silent

Nothing prevents two liars from lending each other their rings, and a seal cannot force a liar to speak: a liar can still refuse to forward a strip, though they cannot alter what an honest bandit sealed.Nothing prevents two traitors from sharing their keys, and a signature cannot force a traitor to speak: a traitor can still refuse to forward a message, though it cannot alter what an honest process signed.

Because an honest seal cannot be forged, a guard can no longer lie about what an honest chief sent! That unlocks a much simpler arrangement, the Sealed Repeating (the paper's signed-message algorithm, SM). Each guard keeps a sheaf (a set) of properly sealed orders they have seen, and at the end applies a fixed deterministic standing rule (the paper's function choice) to pick a single order from their sheaf, defaulting to "hold" if the sheaf is empty.Because an honest signature cannot be forged, a lieutenant can no longer lie about what an honest commander sent! That unlocks a much simpler algorithm, SM(m), the paper's signed-message algorithm. Each lieutenant keeps a set Vi of properly signed values it has seen, and at the end applies a fixed deterministic function, choice, to pick a single value from its set, defaulting to 0 if the set is empty.

To tolerate a given number of liars, the chief stamps an order with their seal and sends it to every guard. Whenever a guard receives a validly sealed order that is not yet in their sheaf, they add it to their sheaf. If that strip carries fewer guards' seals than the number of liars to be tolerated (not counting the chief's), the guard stamps their own seal onto the chain and forwards the strip to every guard whose seal is not already on it. Once the round after the last relay ends, each guard applies the standing rule to their sheaf. Because every honest guard relays any new order before that limit on seals is reached, every honest guard ends up with the exact same orders in their sheaf, and identical sheaves produce identical decisions.To tolerate up to m traitors, the commander signs a value and sends it to every lieutenant. Whenever a lieutenant receives a validly signed value that is not yet in its set, it adds the value to its set. If that message carries fewer than m lieutenants’ signatures (not counting the commander’s), the lieutenant adds its own signature and forwards the message to every lieutenant whose signature is not already on it. Once Round m + 1 ends, each lieutenant applies choice to its set. Because every honest lieutenant relays any new value before the m-signature limit is reached, every honest lieutenant ends up with the exact same values in its set, and identical sets produce identical decisions.

With seal rings, even three bandits can handle one liar! If the chief is honest, no guard can forge the chief's seal on a different order, so both guards' sheaves contain only the chief's true order. A lying chief might try to split the two guards by sealing "hold" for Bandit 2 and "scatter" for Bandit 3. In Round 2, each guard stamps and forwards their strip to the other. Both guards' sheaves now contain the exact same two orders, hold : 1 and scatter : 1, so the standing rule sends both guards the same way!With signatures, even three processes can handle one traitor! If the commander is honest, no lieutenant can forge the commander’s signature on a different value, so both lieutenants’ sets contain only the commander’s true value. A traitorous commander might try to split the two lieutenants by signing 0 for P2 and 1 for P3. In Round 2, each lieutenant signs and forwards its message to the other. Both lieutenants’ sets now contain the exact same two values, 0 : 1 and 1 : 1, so choice sends both lieutenants the same way! Better yet, each lieutenant now holds two contradictory values bearing the commander’s own unforgeable signature, proving beyond doubt that the commander lied.

As a result, the headcount barrier vanishes completely. Under seal, a group of any size can tolerate any number of liars, as long as at least two honest participants are left, since with fewer there is no pair of honest peers to agree with one another.As a result, the 3m + 1 headcount barrier vanishes completely. With signatures, any number of processes can tolerate any number of traitors m (with n ≥ m + 2, since with fewer than two honest participants there is no pair of honest peers left to agree with one another).

Try the Sealed Repeating on the four bandits below. Pick who is lying, choose what a lying chief sends to each post, and inspect the resulting sheaves. Watch how the honest guards always end up with identical sheaves.Try SM(m) on the four processes below. Pick which are traitors, choose what a traitorous commander sends to each lieutenant, and inspect the resulting sets. Watch how the honest lieutenants always end up with identical sets.

Seal and pass suppose, then run itSign and pass suppose, then run it

■ hold ■ scatter   The standing rule used here is an example: if the sheaf contains a single order, obey that order; otherwise default to hold. In this interactive diagram a lying guard withholds their relay; an honest chief seals scatter.■ 0 ■ 1   The choice function used here is an example: if the set contains a single value, decide that value; otherwise default to 0. In this interactive diagram a traitorous lieutenant withholds its relay; an honest commander signs 1.

Where plain strips paid for each additional liar with three more bandits, wax seals pay for each additional liar with just one additional round of relays. Now that we know how the bandits on the crown reach agreement, both by plain strip and under seal, we can compare their predicament with that of the mercenaries camped at the foot of the hill.Where plain messages paid for each additional traitor with three more processes, signatures pay for each additional traitor with just one additional round of relays. Now that we know how the processes reach agreement, both with plain messages and with signatures, we can compare their predicament with that of the asynchronous model.

The Sealed Repeating, stated formally

The Sealed Repeating for m liars is the paper's algorithm SM(m); a wax seal corresponds to an unforgeable cryptographic signature (assumption A4), and guard i's sheaf is the set Vi. The standing rule is the deterministic function choice. A sealed slip hold : 1 : 2 is written v : 0 : j1 in the paper, with the chief (general 0) signing first.

  1. (1) The chief signs an order v and sends v : 0 to every guard, initializing each guard's sheaf Vi to empty.
  2. (2) If guard i receives a validly signed slip v : 0 : j1 : … : jk and v is not yet in Vi, guard i adds v to Vi; if in addition k < m, guard i signs the slip to form v : 0 : j1 : … : jk : i and sends it to every guard not already in {j1, …, jk}.
  3. (3) After Round m + 1, when no further valid slips can arrive, each guard i obeys choice(Vi).
SM(m), stated formally

SM(m) is the paper's signed-message algorithm for m traitors; a signature is an unforgeable cryptographic signature (assumption A4), and lieutenant i's set of values is Vi. The decision rule is the deterministic function choice. A message v : 0 : j1 carries the value v signed first by the commander (general 0), then by j1.

  1. (1) The commander signs a value v and sends v : 0 to every lieutenant, initializing each lieutenant's set Vi to empty.
  2. (2) If lieutenant i receives a validly signed message v : 0 : j1 : … : jk and v is not yet in Vi, lieutenant i adds v to Vi; if in addition k < m, lieutenant i signs the message to form v : 0 : j1 : … : jk : i and sends it to every lieutenant not already in {j1, …, jk}.
  3. (3) After Round m + 1, when no further valid messages can arrive, each lieutenant i obeys choice(Vi).
Proof — that the Sealed Repeating works against any number of liars

Let m be the maximum number of traitors tolerated, i and j be any two honest guards, and k be the number of guards' seals on a slip (excluding the chief's). Claim. For any number of participants, if at most m are traitors, SM(m) satisfies both IC1 and IC2.

  1. IC2 (Honest chief). An honest chief signs only a single order v and sends v : 0 to all guards in Round 1. Because no traitor can forge the chief's signature, no other order can ever be validly signed by the chief. Thus every honest guard i has Vi = {v} and obeys choice({v}) = v.
  2. IC1 (Lying chief). When the chief is a traitor, it suffices to show that for any two honest guards i and j, Vi = Vj; applying the same function choice to identical sets then yields the same decision. Suppose an honest guard i adds v to Vi upon receiving v : 0 : j1 : … : jk.
  3. If k = 0 (received directly from the chief in Round 1), then since m ≥ 1 (otherwise the chief could not be a traitor), guard i signs and forwards v : 0 : i to every other guard, so j receives it and puts v in Vj.
  4. If j is already among the signers {j1, …, jk}, then since j is honest and its seal cannot be forged, j has already put v into Vj.
  5. If j is not among {j1, …, jk} and k < m, then guard i signs and forwards the slip to every guard not yet on the list, including j.
  6. If j is not among {j1, …, jk} and k = m, note that because the chief is already one of the at most m traitors, at most m − 1 guards are traitors. Therefore, among the m distinct guard signatures j1, …, jm on the slip, at least one belongs to an honest guard, and when that honest guard first added v to its sheaf (at a step when fewer than m guards had signed), it forwarded the slip to every remaining guard, including j.
  7. Notice that nowhere in this proof did we count the total number of participants n. The 3m + 1 bound is a price of mutable messages, not of lying itself, and unforgeable signatures eliminate it.∎
Proof — that SM(m) works against any number of traitors

Let m be the maximum number of traitors tolerated, i and j be any two honest lieutenants, and k be the number of lieutenants’ signatures on a message (excluding the commander's). Claim. For any number of participants, if at most m are traitors, SM(m) satisfies both IC1 and IC2.

  1. IC2 (Honest commander). An honest commander signs only a single value v and sends v : 0 to all lieutenants in Round 1. Because no traitor can forge the commander's signature, no other value can ever be validly signed by the commander. Thus every honest lieutenant i has Vi = {v} and obeys choice({v}) = v.
  2. IC1 (Faulty commander). When the commander is a traitor, it suffices to show that for any two honest lieutenants i and j, Vi = Vj; applying the same function choice to identical sets then yields the same decision. Suppose an honest lieutenant i adds v to Vi upon receiving v : 0 : j1 : … : jk.
  3. If k = 0 (received directly from the commander in Round 1), then since m ≥ 1 (otherwise the commander could not be a traitor), lieutenant i signs and forwards v : 0 : i to every other lieutenant, so j receives it and puts v in Vj.
  4. If j is already among the signers {j1, …, jk}, then since j is honest and its signature cannot be forged, j has already put v into Vj.
  5. If j is not among {j1, …, jk} and k < m, then lieutenant i signs and forwards the message to every lieutenant not yet on the list, including j.
  6. If j is not among {j1, …, jk} and k = m, note that because the commander is already one of the at most m traitors, at most m − 1 lieutenants are traitors. Therefore, among the m distinct lieutenant signatures j1, …, jm on the message, at least one belongs to an honest lieutenant — and when that honest lieutenant first added v to its set (at a step when fewer than m lieutenants had signed), it forwarded the message to every remaining lieutenant, including j.
  7. Notice that nowhere in this proof did we count the total number of participants n. The 3m + 1 bound is a price of mutable messages, not of lying itself, and unforgeable signatures eliminate it.∎
The two ends of the hillTwo kinds of trouble

The two halvesThe two models side by side

Set side by side, the two ends of Mount Phyle reach completely opposite outcomes. High on the crown, the bandits reach guaranteed agreement in just a couple of rounds: four bandits can outvote one liar with plain strips, and with wax seals they can handle any number of liars.Set side by side, the two models reach completely opposite outcomes. With liars and bounded delays, processes reach guaranteed agreement in just a couple of rounds: four processes can outvote one traitor with plain messages, and with signatures they can handle any number of traitors.

Down at the foot of the hill, where no mercenary ever lies but a comrade may die in the night and a messenger bird can take arbitrarily long in the pines, no deterministic rule can ever guarantee that the camp reaches a decision at all.* The bandits are no cleverer than the mercenaries; what saves the bandits is their sandglasses and the short, bounded runs of their rats. Each camp is missing a single distinction, and it is the exact same shape of uncertainty in two different guises:In the asynchronous model, where no process ever lies but a process may crash and a message can take arbitrarily long, no deterministic algorithm can guarantee that the processes reach a decision at all.* The Byzantine processes are no cleverer; what saves them is synchronous rounds and the short, bounded delay of their channels. Each model is missing a single distinction, and it is the exact same shape of uncertainty in two different guises:

From high on Mount Phyle at night: scrub-covered slopes and black cypresses falling away towards the moonlit sea
Below · at the footAsynchronous · crash faults

A dead bandit, or a slow birdA crashed process, or a slow one

A mercenary staring at an empty perch cannot tell whether the comrade in that tent is dead or whether their bird is merely lingering in a pine tree. Because stopping too soon risks disagreeing with a live comrade, they can never safely stop waiting.A process waiting for a message cannot tell whether the sender has crashed or whether the message is merely delayed. Because stopping too soon risks disagreeing with a live process, it can never safely stop waiting.

Above · on the crownSynchronous · Byzantine faults

A lying chief, or a lying peerA faulty commander, or a faulty peer

A guard holding two conflicting strips cannot tell whether the chief sent two different orders or the fellow guard lied in their relay. No single person's word can ever be trusted alone, and the honest guards almost never learn who the liar was.A lieutenant holding two conflicting messages cannot tell whether the commander sent two different values or a fellow lieutenant lied in its relay. No single process’s word can ever be trusted alone, and the honest processes almost never learn which one was faulty.

Notice that neither arrangement ever identifies the culprit. Down below, no one ever learns whether a silent tent holds a dead comrade or a slow bird; up above, the honest bandits reach agreement without ever unmasking the liar. Good arrangements do not try to diagnose who failed; they are built so that the honest bandits can move together without needing to know.Notice that neither protocol ever identifies the culprit. In the asynchronous model, no process ever learns whether a silent peer has crashed or is merely slow; in the synchronous model, the honest processes reach agreement without ever identifying the traitor (unless a careless commander signs two conflicting values). Good distributed algorithms do not try to diagnose who failed, they are built so that the honest processes can move together without needing to know.

Between the two troubles, dishonesty and unbounded delay, the worse trouble is the lack of a clock. When strips arrive within a known time bound, silence carries information: by the time the sandglass runs out, every strip that was going to arrive has arrived, and lies can be outvoted or exposed by seals. When delays have no bound, silence means nothing at all.Between the two troubles, dishonesty and unbounded delay, the worse trouble is the lack of a clock. When messages arrive within a known time bound, silence carries information: by the time the round ends, every message that was going to arrive has arrived, and lies can be outvoted or exposed by signatures. When delays have no bound, silence means nothing at all.

With plain messages, machines can agree despite liars only if more than two-thirds are honest. With unforgeable signatures, they can agree regardless of how many lie.

Neither method needs to identify which machine lied, and both rely on a crucial timing assumption: being able to detect silence at the end of a round, which requires bounded message delays and synchronized clocks.

Setting Four Bandits Who Must Agree Though Some Lie

The papers behind this book

The papers behind this book. Leslie Lamport, Robert Shostak and Marshall Pease, “The Byzantine Generals Problem,” ACM Transactions on Programming Languages and Systems 4, 3 (July 1982), 382–401; and Marshall Pease, Robert Shostak and Leslie Lamport, “Reaching Agreement in the Presence of Faults,” Journal of the ACM 27, 2 (April 1980), 228–234, which gives the rigorous multi-round impossibility proof for three processes.

On the crown, the bandits go by number rather than by name: Bandit 1 is the chief inside the ring wall, and Bandits 2, 3, and 4 hold the lookout posts on the slopes. The mercenaries at the foot of the hill are numbered separately.

The ideas. A commanding general must send an order to n − 1 lieutenants so that (IC1) all loyal lieutenants obey the same order and (IC2) if the commander is loyal, every loyal lieutenant obeys the commander's order. IC2 implies IC1 when the commander is loyal, so the entire difficulty lies in satisfying IC1 when the commander is a traitor. With oral messages (plain slips whose contents a relay can falsify), no solution exists for three generals in the presence of one traitor, because a loyal lieutenant cannot tell a lying commander from a lying peer; by a reduction argument in which three generals simulate a larger system, no oral-message solution exists for n ≤ 3m generals with m traitors. Above that bound (n ≥ 3m + 1), the recursive algorithm OM(m) works in m + 1 rounds: the commander sends an order, each lieutenant relays what it received via OM(m − 1), and each takes the majority of the resulting values. Adding unforgeable cryptographic signatures (SM(m)) removes the 3m + 1 headcount requirement entirely: traitors can no longer falsify what a loyal general signed, and relaying signed chains of length up to m ensures that every loyal lieutenant collects the exact same set of orders. Both algorithms rely on assumption A3 — that the absence of a message can be detected by the end of a round — which requires synchronous rounds and bounded message delays.

Lamport, L., Shostak, R., and Pease, M. The Byzantine Generals Problem. ACM Trans. Program. Lang. Syst. 4, 3 (1982), 382–401.

Pease, M., Shostak, R., and Lamport, L. Reaching agreement in the presence of faults. J. ACM 27, 2 (1980), 228–234. The rigorous impossibility proof for three.