Skip to content

Commit

Permalink
Bless the LND SCB force-close request message format
Browse files Browse the repository at this point in the history
Sending a `channel_reestablish` with `next_commitment_number` of
zero is used in practice to request a peer fail a channel and
broadcast the latest state (for implementations which continue to
ignore the `error` message).

Because its used in practice we should document it to avoid
accidentally writing up incompatible things in the future.
  • Loading branch information
TheBlueMatt committed Jan 14, 2025
1 parent 6849c33 commit d8cfa95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -2526,6 +2526,9 @@ A receiving node:
- otherwise:
- MUST send `tx_abort` to let the sending node know that they can forget
this funding transaction.
- if `next_funding_txid` is not set, and `next_commitment_number` is zero:
- MUST immediately fail the channel and broadcast any relevant latest commitment
transaction.

A node:
- MUST NOT assume that previously-transmitted messages were lost,
Expand Down

0 comments on commit d8cfa95

Please sign in to comment.