Lightning nodes learn about public channels and other nodes through gossip messages specified in BOLT 7, which defines three gossip messages for channel and node discovery, including a channel announcement that proves a channel exists between two nodes.
Sources and checks
T1BOLT 7, P2P Node and Channel DiscoveryBOLT, says this directly
To support channel and node discovery, three
Overview, read 2026-11-20
T1BOLT 7, P2P Node and Channel DiscoveryBOLT, says this directly
Proving the existence of a channel between `node_1` and `node_2` requires:
Definition of short_channel_id and channel_announcement rationale, read 2026-11-20
lightning/bolts at 191462825a contains this text in 07-routing-gossip.md, and still does on the default branch.
Run it yourself
git clone https://github.com/lightning/bolts && git -C bolts show 191462825ae341f0a27098765c075f01ca9bc6c2:07-routing-gossip.md | grep -nF 'Proving the existence of a channel between `node_1` and `node_2` requires:'Checked at block 976,759, 20 Nov 2026, 17:27 UTC: quotes 2/2, code 1/1
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 17:27 UTCblock 976,759
Published Revision 1, run 2026-11-20-seed-lightning