1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

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
This commit is contained in:
niftynei 2023-11-12 15:30:43 -06:00 committed by neil saitug
parent bd1460d8cf
commit 6018a4d43b

View File

@ -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