1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-13 11:35:41 +01:00

Allow either node to send tx_init_rbf in v2 establishment

Splicing allows either node to send `tx_init_rbf` as they may want to
take the opportunity to contribute or withdraw additional funds to /
from the channel. Allow the same for v2 channel establishment for
consistency.
This commit is contained in:
Jeffrey Czyz 2025-03-10 11:09:39 -05:00
parent a09564a8b7
commit 0c27311f47
No known key found for this signature in database
GPG key ID: 3A4E08275D5E96D2

View file

@ -1407,7 +1407,7 @@ a transaction paying more fees to make the channel confirm faster.
#### Requirements
The sender of `tx_init_rbf`:
- MUST be the *initiator*
- MAY be the either the *initiator* or the *accepter*
- MUST NOT have sent or received a `channel_ready` message.
The recipient:
@ -1430,6 +1430,10 @@ a large feerate change, instead sets their `sats` to zero, and decline to
participate further in the channel funding: by not contributing, they
may obtain incoming liquidity at no cost.
We allow both nodes to initiate RBF, because any one of them may want to take
this opportunity to contribute additional funds to the channel without
waiting for the initial funding transaction to confirm.
## Channel Quiescence
Various fundamental changes, in particular protocol upgrades, are