BOLT 4, Onion Routing Protocol
Its title as BOLT #0, the Lightning specification's own index, lists it. Its authors are named in its text.
Claims that cite it
2 claims, by topic and depth.
Lightning Network2 claims
Builder
The Lightning protocol is specified in the BOLT documents of the lightning/bolts repository, a set of numbered files including BOLT 2 (peer protocol), BOLT 3 (transactions), BOLT 4 (onion routing), BOLT 7 (gossip), BOLT 11 (invoices) and BOLT 12 (offers), as of 20 November 2026.1: open 5 sources
TraceBuilderEstablishedHigh confidence
T1lightning/bolts README.mdBOLT, supports part of it
The specifications are currently a work-in-progress and currently being drafted.
Introduction, read 2026-11-20
Still in README.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
Lightning is a protocol for making fast payments with Bitcoin using a network of channels.
Introduction, read 2026-11-20
Still in 00-introduction.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
[BOLT #12](12-offer-encoding.md): Negotiation Protocol for Lightning Payments
Table of Contents, read 2026-11-20
Still in 00-introduction.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
The human-readable prefix for offers is `lno`.
Encoding, read 2026-11-20
Still in 12-offer-encoding.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
The routing schema is based on the [Sphinx][sphinx] construction and is
Overview, read 2026-11-20
Still in 04-onion-routing.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
lightning/bolts at 191462825a contains this text in 02-peer-protocol.md.
Run it yourself
git clone https://github.com/lightning/bolts && git -C bolts show 191462825ae341f0a27098765c075f01ca9bc6c2:02-peer-protocol.md | grep -nF 'Splicing is the term given for replacing the funding transaction with'lightning/bolts at 191462825a contains this text in 07-routing-gossip.md.
Run it yourself
git clone https://github.com/lightning/bolts && git -C bolts show 191462825ae341f0a27098765c075f01ca9bc6c2:07-routing-gossip.md | grep -nF 'To support channel and node discovery, three'Checked at block 977,320, 24 Nov 2026, 04:21 UTC: recheck, quotes 5/5, code 2/2History, hash and citation
Lightning payments are routed with onion encryption based on the Sphinx construction, specified in BOLT 4. The onion packet's hop payloads are a fixed 1,300 bytes, and an intermediate node cannot learn which other nodes, besides its predecessor and successor, are on the route.2: open 3 sources
How it worksBuilderEstablishedHigh confidence
The routing schema is based on the [Sphinx][sphinx] construction and is
Overview, read 2026-11-20
Still in 04-onion-routing.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
They cannot learn which other nodes, besides their predecessor or successor, are part of the packet's route
Overview, privacy properties, read 2026-11-20
Still in 04-onion-routing.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
It is 1300 bytes long and has the following structure:
Packet Structure, hop_payloads, read 2026-11-20
Still in 04-onion-routing.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
lightning/bolts at 191462825a contains this text in 04-onion-routing.md, and still does on the default branch.
Run it yourself
git clone https://github.com/lightning/bolts && git -C bolts show 191462825ae341f0a27098765c075f01ca9bc6c2:04-onion-routing.md | grep -nF 'It is 1300 bytes long and has the following structure:'Checked at block 977,463, 25 Nov 2026, 04:23 UTC: recheck, quotes 3/3, code 1/1History, hash and citation
In the specification
Read 24 Nov 2026, 06:37 UTC, block 977,335
Blocklore has seen no change to this BOLT since it began reading the specification. Each change to its title or text appears here with the commits to compare.