Hornet Node and the Hornet DSL: A Minimal, Executable Specification for Bitcoin Consensus
Toby Sharp
Toby Sharp
+1
This paper presents Hornet Node and the Hornet Domain-Specific Language (DSL), a minimal, executable, declarative C++ specification of Bitcoin consensus rules. The specification syncs Bitcoin mainnet to the tip in a few hours on a single thread, enabling formal verification, consensus code generation, and adversarial testing. It provides a credible path toward a pure, formal, executable specification of Bitcoin consensus, complementing the reference client with a modern, modular design.

arXiv ·
· September 19, 2025