Skip to content

Commit b050092

Browse files
committed
Update closing_signed fee requirement
With anchor outputs, we can keep the commit tx feerate lower than the real on-chain feerate. That means that when closing the channel, the resulting fee will not necessarily be lower than the current commit tx fee, this requirement doesn't make sense to be strict.
1 parent a5d4f33 commit b050092

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

02-peer-protocol.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -555,12 +555,13 @@ The funding node:
555555
- SHOULD send a `closing_signed` message.
556556

557557
The sending node:
558-
- MUST set `fee_satoshis` less than or equal to the
559-
base fee of the final commitment transaction, as calculated in [BOLT #3](03-transactions.md#fee-calculation).
560-
- SHOULD set the initial `fee_satoshis` according to its
561-
estimate of cost of inclusion in a block.
562-
- MUST set `signature` to the Bitcoin signature of the close
563-
transaction, as specified in [BOLT #3](03-transactions.md#closing-transaction).
558+
- If the channel does not use `option_anchor_outputs`:
559+
- MUST set `fee_satoshis` less than or equal to the base fee of the final
560+
commitment transaction, as calculated in [BOLT #3](03-transactions.md#fee-calculation).
561+
- SHOULD set the initial `fee_satoshis` according to its estimate of cost of
562+
inclusion in a block.
563+
- MUST set `signature` to the Bitcoin signature of the close transaction,
564+
as specified in [BOLT #3](03-transactions.md#closing-transaction).
564565

565566
The receiving node:
566567
- if the `signature` is not valid for either variant of closing transaction
@@ -569,9 +570,9 @@ The receiving node:
569570
- if `fee_satoshis` is equal to its previously sent `fee_satoshis`:
570571
- SHOULD sign and broadcast the final closing transaction.
571572
- MAY close the connection.
572-
- otherwise, if `fee_satoshis` is greater than
573-
the base fee of the final commitment transaction as calculated in
574-
[BOLT #3](03-transactions.md#fee-calculation):
573+
- otherwise, if `fee_satoshis` is greater than the base fee of the final
574+
commitment transaction as calculated in [BOLT #3](03-transactions.md#fee-calculation)
575+
and the channel does not use `option_anchor_outputs`:
575576
- MUST fail the connection.
576577
- if `fee_satoshis` is not strictly
577578
between its last-sent `fee_satoshis` and its previously-received

0 commit comments

Comments
 (0)