A Minimal, Executable Specification for Bitcoin Consensus - Toby Sharp
hornetnode.org·7h

A Minimal, Executable Specification for Bitcoin Consensus

Toby Sharp

v1.1 20 September 2025 toby@hornetnode.org

1. Abstract

Bitcoin’s consensus rules [1] are encoded in the implementation of its reference client [2]: “The code is the spec.” Yet this code is unsuitable for formal verification due to side effects, mutable state, concurrency, and legacy design.

A standalone formal specification would enable verification both across versions of the reference client and against new client implementations, strengthening decentralization by reducing the risk of consensus-splitting bugs. Yet such a specification has long been considered intractable given the complexity of Bitcoin’s consensus logic [4…

Similar Posts

Loading similar posts...