Skip to content

Commit

Permalink
dual-fund, verbiage: clarify situation for closing a underfunded channel
Browse files Browse the repository at this point in the history
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
  • Loading branch information
niftynei committed Nov 12, 2023
1 parent 98d4d69 commit 6d51a8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -1374,8 +1374,12 @@ The receiving node:
channel:
- MUST ignore this message
- if the `witness` weight lowers the effective `feerate`
below the *opener*'s feerate for the funding transaction:
- SHOULD broadcast their commitment transaction, closing the channel.
below the *opener*'s feerate for the funding transaction and the effective
`feerate` is determined by the receiving node to be insufficient for
getting the transaction confirmed in a timely manner:
- SHOULD broadcast their commitment transaction, closing the channel
- SHOULD double-spend their channel inputs when there is a productive
opportunity to do so; effectively canceling this channel open
- SHOULD apply `witnesses` to the funding transaction and broadcast it

#### Rationale
Expand Down

0 comments on commit 6d51a8a

Please sign in to comment.