Byzantine Fault Tolerance (BFT)
A system that still reaches agreement when some participants lie or fail, as long as enough stay honest.
Basically
A system with byzantine fault tolerance keeps working correctly when some parts lie, fail, or send conflicting information. The rest can still agree on what happened.
Key Takeaways
- Byzantine fault tolerance (BFT) lets a distributed system reach consensus when some participants are malicious, offline, or send conflicting messages. It is the foundational problem behind every blockchain consensus protocol.
- Classical BFT requires at least 3f+1 total nodes to tolerate f faulty nodes. The system breaks if more than one-third of participants are Byzantine, and this threshold applies to protocols like pBFT, Tendermint, and HotStuff.
- Modern blockchains blend BFT with other techniques. Proof of stake chains like Ethereum use Casper FFG for deterministic finality, while Bitcoin's Nakamoto consensus trades deterministic finality for permissionless participation.
What Is Byzantine Fault Tolerance?
Byzantine fault tolerance lets a distributed system keep working correctly when some nodes behave arbitrarily. They may send wrong data, contradict themselves, or collude to disrupt the network. The term comes from the Byzantine Generals Problem, a thought experiment published in 1982 by Leslie Lamport, Robert Shostak, and Marshall Pease.
The thought experiment imagines several generals surrounding a city and communicating only by messenger. They must agree to attack or retreat, but some generals may be traitors who send conflicting orders to different allies. The protocol must guarantee that all loyal generals reach the same decision, whatever the traitors do.
The thought experiment maps directly to distributed computing. Generals are nodes, messengers are network messages, and traitors are Byzantine faults: nodes that crash, lie, send different values to different peers, or behave in any arbitrary way. A system is Byzantine fault tolerant if honest nodes still reach agreement despite these faults.
How It Works
Lamport, Shostak, and Pease established the foundational result: a system needs at least 3f+1 total nodes to tolerate f Byzantine faults. Traitors can split honest participants into irreconcilable groups with conflicting information when there are fewer nodes.
A total of 2f+1 nodes is not enough when f nodes are faulty. Faulty nodes can send one value to one subset of honest nodes and another value to a second subset, and neither subset can distinguish a lie from an honest node relaying a legitimate message. A total of 3f+1 nodes means at least 2f+1 are honest, giving enough overlap to outvote the f faulty nodes and reach unambiguous agreement.
Practical Byzantine Fault Tolerance (pBFT)
BFT was considered too expensive for real systems for years after the 1982 paper. Miguel Castro and Barbara Liskov changed that in 1999 when they published Practical Byzantine Fault Tolerance (pBFT), demonstrating that Byzantine consensus could run with near-production-level performance.
pBFT operates in three phases during normal operation. These three phases make up its normal consensus process.
The all-to-all communication in the prepare and commit phases gives pBFT an O(n²) message complexity per consensus round. This limits it to relatively small validator sets, typically tens of nodes rather than thousands.
Modern BFT Protocols
Two protocols significantly advanced BFT for blockchain use. They are Tendermint BFT and HotStuff.
Tendermint BFT was first described by Jae Kwon in 2014 and formally published in 2018. It simplified the protocol to two phases, pre-vote and pre-commit, reduced view-change complexity to O(n), and was designed specifically for blockchain gossip networks. It powers the Cosmos ecosystem through CometBFT, the rebranded Tendermint Core, but it is not "responsive": the leader must wait a fixed timeout instead of proceeding as soon as enough votes arrive.
HotStuff was published in 2019 by Maofan Yin, Dahlia Malkhi, and other researchers at VMware Research. It used threshold signatures to achieve O(n) message complexity in both normal operation and view changes. It was the first partially synchronous BFT protocol to combine linear complexity with responsiveness, so a correct leader can drive consensus at the speed of actual network delay, and Meta's Diem project (now Aptos) adopted a HotStuff derivative called DiemBFT.
Classical BFT vs. Nakamoto Consensus
Bitcoin introduced a fundamentally different approach to Byzantine agreement. Nakamoto consensus uses proof of work to elect a random leader who proposes the next block, with no explicit voting rounds and no fixed validator set. Anyone can participate by contributing hash power.
The permissionless design has a major trade-off: probabilistic finality. A Bitcoin transaction is never truly "final" in the classical BFT sense, but confidence grows with each block confirmation added on top. A reversal becomes astronomically unlikely after six confirmations, roughly one hour, but remains theoretically possible.
Classical BFT protocols provide deterministic finality: once a block is committed, it cannot be reverted without corrupting more than one-third of the validator set. This certainty enables faster settlement. The protocols require a known, bounded set of participants.
The research article on payment finality across blockchains offers a deeper comparison of how different blockchains achieve transaction finality. You can read it to compare these approaches.
BFT in Modern Blockchains
Most modern blockchains blend BFT techniques with economic incentives from proof of stake. Validators lock up tokens as collateral and can lose their stake through slashing if they behave maliciously. The economic layer supplements the cryptographic guarantees of BFT.
Cosmos (CometBFT)
The Cosmos ecosystem runs on CometBFT, a production implementation of Tendermint BFT. Validators pre-vote and pre-commit on blocks, achieving deterministic finality within seconds. The protocol supports up to around 150 validators before performance degrades because of O(n²) communication overhead.
Ethereum (Casper FFG)
Ethereum's consensus layer, called Gasper, combines two components: LMD-GHOST and Casper FFG. LMD-GHOST is the fork-choice rule that selects the chain tip based on validator attestations, while Casper FFG is a BFT-inspired finality gadget that operates on checkpoints, the first block of each 32-slot epoch. A checkpoint becomes justified when two-thirds of staked ETH votes in its favour and finalised when the next checkpoint is also justified, mirroring the two-phase voting of classical BFT protocols in a two-step process.
Solana (Tower BFT)
Solana uses Tower BFT, a pBFT adaptation that leverages Proof of History (PoH) as a cryptographic clock. PoH provides a verifiable passage of time instead of using communication rounds to establish ordering, reducing the messaging overhead that limits traditional BFT. Validators vote on blocks with exponentially increasing lockout periods.
Aptos and Sui
Aptos uses AptosBFT, derived from HotStuff via DiemBFT, achieving linear message complexity with pipelined consensus. Sui uses Mysticeti, a DAG-based BFT protocol that separates data availability from ordering.
Use Cases
BFT protocols matter wherever distributed systems need agreement despite potentially malicious participants. You can use them when honest participants must still reach the same result.
The One-Third Threshold
Classical BFT systems fail if more than one-third of nodes are Byzantine. This threshold provides strong security in permissioned networks with carefully vetted validators. The barrier to controlling one-third of stake or hash power may be lower than expected in permissionless settings, especially in networks with concentrated token distributions.
Scalability Limits
Even modern BFT protocols struggle with large validator sets. O(n²) protocols like Tendermint become impractical beyond a few hundred validators, while O(n) protocols like HotStuff improve the bound but still require every validator to process every message. Most BFT-based chains therefore cap their validator set size, creating a tension with censorship resistance and decentralisation.
Liveness vs. Safety Trade-off
Classical BFT protocols prioritise safety over liveness: they halt rather than produce conflicting results. The chain stops producing blocks entirely if more than one-third of validators go offline, which has happened in practice with Cosmos-based chains and Solana. Nakamoto consensus takes the opposite approach and always produces blocks, even at the cost of potential reorganisations.
Honest Majority Assumption
BFT protocols assume that at least two-thirds of validators follow the protocol honestly. The assumption does not account for rational but non-malicious behaviour: validators who are lazy, run outdated software, or follow short-term economic incentives that diverge from protocol rules. Incentive compatibility through staking and slashing mechanisms aims to align validator behaviour with protocol health, but edge cases remain.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.