Before Blockchains, There Was State Machine Replication

Host
Tim Roughgarden
Guests
Barbara Liskov, Turing Award winnerIttai Abraham, a16z crypto research partner
Date

TLDR

Every modern blockchain consensus protocol descends directly from 1980s distributed systems research, specifically Barbara Liskov’s Viewstamped Replication and later PBFT, which introduced view changes, replicated logs, and the separation of consensus from execution that now underpins decentralized ledgers. Liskov explains how practical concerns about file-system availability and a DARPA mandate to survive Internet attacks produced these mechanisms decades before Bitcoin, and she argues that AI is now creating massive new demand for the systems-level verification and modular reasoning on which they were built.

Key takeaways

  1. Viewstamped Replication was invented to fix the fatal halt in two-phase commit when a primary fails. Liskov and student Brian Oki developed the protocol in the mid-1980s to build replicated file systems without relying on remote user locks, which she viewed as brittle. The core mechanism was a “view change” where backups elect a new primary if the leader fails, preserving a totally ordered log so history is identical across replicas. This established the ledger concept and ran with only 2f+1 replicas against benign crash-stop failures.

  2. Practical Byzantine Fault Tolerance bridged theoretical cryptography to deployable systems by extending Viewstamped Replication to malicious actors. Motivated by a DARPA RFP on Internet attacks, Liskov and student Miguel Castro started from VSR and added cryptographic certificates, collections of 2f+1 signed messages that prove protocol progress without trusting any single replica. Because Byzantine primaries can lie, PBFT introduced an additional phase beyond VSR so the group, not the leader, certifies each step.

  3. The state machine replication paradigm underlying modern blockchains was explicitly application-agnostic from its inception. In both VSR and PBFT, the replication layer records operation order in a distributed log but remains entirely ignorant of execution semantics, treating the application as a black box. This separation of consensus from execution meant the same protocol could power file systems, databases, or general-purpose smart contract platforms.

  4. Paxos and Viewstamped Replication were independently developed solutions to the same problem, with their equivalence recognized only years later. Liskov heard Leslie Lamport give a talk on Paxos in the 1980s but did not recognize it as the same protocol. The connection was only identified in the late 1990s when her former student Bill Weihl, working at Google, recognized that the Google File System’s replication mechanism was effectively Viewstamped Replication.

  5. DARPA and NSF funding directly catalyzed the creation of PBFT by targeting real-world malicious attacks rather than theoretical curiosity. Castro discovered a DARPA request for proposals focused on handling malicious attacks on the Internet, which gave the group a timely and concrete motivation to tackle Byzantine faults. Liskov emphasizes that government research funding was the essential backbone enabling the foundational work that produced the modern Internet and distributed systems.

  6. Liskov sees software modularity as mathematically equivalent to structured theorem proving. Drawing on her mathematics background, she argues that modular program specifications function like lemmas: each module’s correctness can be proved in isolation using only the specifications of other modules, avoiding the need to inspect their implementations. This formal, compositional mindset shaped her group’s insistence on rigorous correctness proofs for increasingly complex distributed protocols.

  7. AI is generating a new wave of high-value systems research around verification, safety, and infrastructure. Liskov argues that while AI may automate low-level coding, it simultaneously demands rigorous verification tools to ensure generated code is correct and creates novel systems challenges underneath the AI stack. She advises young researchers to focus on design, specification, and formal reasoning at the level of her early MIT course on building large programs.

Insights and implications

  • The blockchain consensus stack is the accidental consequence of file-system availability research, not the product of a financial-engineering agenda. Liskov developed Viewstamped Replication to solve the mundane problem of redundant file storage in the ARPANET era, and PBFT emerged from a DARPA mandate to survive Internet attacks, not to create digital money. This reframes modern blockchains as the belated commercialization of infrastructure built for entirely different operational threats.

  • Lasting practical breakthroughs in fault tolerance depend more on possessing a deeply understood benign-fault architecture than on theoretical bounds alone. Liskov’s group succeeded with PBFT because they could extend Viewstamped Replication, a protocol they had already built and formally verified, rather than deriving a Byzantine solution from first principles. This implies that robust systems research progresses most reliably through the incremental hardening of proven practical mechanisms, not through theory-first design.

  • AI-generated code is about to make formal specification and compositional reasoning the central economic activity in software, completing the inversion from implementation to verification that Liskov’s career foreshadowed. As low-level coding is automated, the skills she embedded in her early MIT course, design, modularity, and specification, become the exact competencies required to ensure correctness. This extrapolates her historical emphasis on modular proof into the primary engine of future software engineering value.