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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help