Skip to content

Commit d8cfa95

Browse files
committed
Bless the LND SCB force-close request message format
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.
1 parent 6849c33 commit d8cfa95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

02-peer-protocol.md

+3
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,9 @@ A receiving node:
25262526
- otherwise:
25272527
- MUST send `tx_abort` to let the sending node know that they can forget
25282528
this funding transaction.
2529+
- if `next_funding_txid` is not set, and `next_commitment_number` is zero:
2530+
- MUST immediately fail the channel and broadcast any relevant latest commitment
2531+
transaction.
25292532

25302533
A node:
25312534
- MUST NOT assume that previously-transmitted messages were lost,

0 commit comments

Comments
 (0)