Skip to content

Commit 6018a4d

Browse files
committed
dual-fund, verbiage: clarify situation for closing a underfunded channel
Moved up some rationale from the Rationale section and added a bit of clarification to when you'd want to close/cancel an open. Reported-By: @morehouse
1 parent bd1460d commit 6018a4d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

02-peer-protocol.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,8 +1374,12 @@ The receiving node:
13741374
channel:
13751375
- MUST ignore this message
13761376
- if the `witness` weight lowers the effective `feerate`
1377-
below the *opener*'s feerate for the funding transaction:
1378-
- SHOULD broadcast their commitment transaction, closing the channel.
1377+
below the *opener*'s feerate for the funding transaction and the effective
1378+
`feerate` is determined by the receiving node to be insufficient for
1379+
getting the transaction confirmed in a timely manner:
1380+
- SHOULD broadcast their commitment transaction, closing the channel
1381+
- SHOULD double-spend their channel inputs when there is a productive
1382+
opportunity to do so; effectively canceling this channel open
13791383
- SHOULD apply `witnesses` to the funding transaction and broadcast it
13801384

13811385
#### Rationale

0 commit comments

Comments
 (0)