A channel peer publishing an old state to take back money it paid
What it is
Restoring a Lightning node from a copy of its channel database is risky, because the copy may not hold the latest channel state. Broadcasting an old, revoked commitment transaction lets the channel peer claim all of that commitment's outputs with a penalty transaction.1: open 3 sources
How it worksHolderEstablishedHigh confidence
T2LND docs/recovery.mdDocumentation, says this directly
knows if they have the latest state of a channel or not.
Off-Chain Recovery, why not copy channel.db, read 2026-11-20
Still in docs/recovery.md at the head of lightningnetwork/lnd (d4408b7ac1), read 26 Nov 2026.
It can be claimed, without delay, by the other party if they know the revocation private key.
Commitment Transaction Outputs, to_local output, read 2026-11-20
Still in 03-transactions.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
T2Mastering the Lightning Network, chapter 5, Operating a Lightning Network NodeDocumentation, says this directly
Second, restoring from a channel backup is dangerous.
Backups, read 2026-11-20
Still in 05_node_operations.asciidoc at the head of lnbook/lnbook (54453c7b1c), read 26 Nov 2026.
Checked at block 977,463, 25 Nov 2026, 04:23 UTC: recheck, quotes 3/3History, hash and citation
Each Lightning channel update creates new commitment transactions and revokes the old ones: a peer revokes an old commitment by revealing its revocation secret, after which the other peer can claim that commitment's delayed output immediately if it is ever broadcast.2: open 2 sources
How it worksBuilderEstablishedMedium confidence
revealing this key is how old commitment
Glossary and Terminology Guide, Commitment revocation private key, read 2026-11-20
Still in 00-introduction.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
It can be claimed, without delay, by the other party if they know the revocation private key.
Commitment Transaction Outputs, to_local output, read 2026-11-20
Still in 03-transactions.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
Checked at block 977,320, 24 Nov 2026, 04:21 UTC: recheck, quotes 2/2History, hash and citation
What defends against it
A Lightning watchtower is a service that monitors the Bitcoin blockchain on a user's behalf and broadcasts a penalty transaction if a channel peer publishes an outdated channel state, so the user can go offline for significant amounts of time.3: open 3 sources
DefinitionHolderEstablishedHigh confidence
T2Bitcoin Optech topic, WatchtowersBitcoin Optech, says this directly
monitor the block chain for transactions that may cause one of their users to lose funds
Topic summary, read 2026-11-20
T2Bitcoin Optech topic, WatchtowersBitcoin Optech, says this directly
go offline for significant amounts of time
Topic summary, read 2026-11-20
T2Mastering the Lightning Network, chapter 5, Operating a Lightning Network NodeDocumentation, says this directly
are a mechanism for outsourcing the monitoring and penalty resolution of Lightning protocol violations.
Watchtowers, read 2026-11-20
Still in 05_node_operations.asciidoc at the head of lnbook/lnbook (54453c7b1c), read 26 Nov 2026.
Checked at block 977,463, 25 Nov 2026, 04:23 UTC: recheck, quotes 3/3History, hash and citation
A self-custodial Lightning node must have the Bitcoin blockchain watched, by itself or through a watchtower, for transactions that spend its channels, so it can respond with a penalty transaction if a peer broadcasts an old channel state. A node that is offline during such an attempt, with no watchtower, can lose funds.4: open 4 sources
How it worksHolderEstablishedHigh confidence
T1BOLT 5, Recommendations for On-chain Transaction HandlingBOLT, says this directlyBOLT 5 on Blocklore
MUST monitor the blockchain for transactions that spend any output that is NOT
General Nomenclature, requirements, read 2026-11-20
Still in 05-onchain.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
T2Mastering the Lightning Network, chapter 7, Payment ChannelsDocumentation, says this directly
In practice, both Alice and Bob have to monitor for cheating.
Cheating with old commitment transactions, read 2026-11-20
Still in 07_payment_channels.asciidoc at the head of lnbook/lnbook (54453c7b1c), read 26 Nov 2026.
T2Mastering the Lightning Network, chapter 5, Operating a Lightning Network NodeDocumentation, says this directly
But if your node is down during the protocol violation, you might lose money.
Watchtowers, read 2026-11-20
Still in 05_node_operations.asciidoc at the head of lnbook/lnbook (54453c7b1c), read 26 Nov 2026.
T2Mastering the Lightning Network, chapter 5, Operating a Lightning Network NodeDocumentation, says this directly
To solve this problem, we can use one or more watchtowers to outsource the job of monitoring protocol violations and issuing penalty transactions.
Watchtowers, read 2026-11-20
Still in 05_node_operations.asciidoc at the head of lnbook/lnbook (54453c7b1c), read 26 Nov 2026.
Checked at block 977,463, 25 Nov 2026, 04:23 UTC: recheck, quotes 4/4History, hash and citation
In BOLT 3, the outputs of a Lightning commitment transaction that return funds to the peer who broadcast it are delayed by to_self_delay blocks, a value the other peer sets in BOLT 2, giving that other peer time to spot a revoked commitment and claim the funds.5: open 2 sources
How it worksBuilderEstablishedHigh confidence
must be delayed for `to_self_delay` blocks
Commitment Transaction Outputs, to_local output, read 2026-11-20
Still in 03-transactions.md at the head of lightning/bolts (191462825a), read 26 Nov 2026.
`to_self_delay` is the number of blocks that the other node's to-self
The open_channel Message, field descriptions, read 2026-11-20
Still in 02-peer-protocol.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 '`to_self_delay` is the number of blocks that the other node'"'"'s to-self'Checked at block 977,463, 25 Nov 2026, 04:23 UTC: recheck, quotes 2/2, code 1/1History, hash and citation
What the lab tests
5 testsThe LND rows are LND's own unit tests, one Go package each, built from the source of its newest release once the release's signed manifest checks out. The LDK rows are LDK's own tests, one module of its lightning crate each, built from its newest release once the release tag's signature checks out. See each release's run.
| Package | LND 0.21.8-beta23 Nov 2026 |
|---|---|
LND contractcourt | Passed |
LND lnwallet | Passed |
LND watchtower/ | Passed |
| Module | LDK 0.2.824 Nov 2026 |
|---|---|
LDK ln/ | Passed |
LDK ln/ | Passed |
Public record
- Optech: watchtowersbitcoinops.org