Skip to content

Commit 966e550

Browse files
committed
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.
1 parent a09564a commit 966e550

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

02-peer-protocol.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,10 @@ a transaction paying more fees to make the channel confirm faster.
14071407
#### Requirements
14081408

14091409
The sender of `tx_init_rbf`:
1410-
- MUST be the *initiator*
1410+
- MAY be either the *initiator* or the *accepter*
1411+
- If the sender is the accepter, it becomes the initiator of the `interactive-tx` session and thus:
1412+
- MUST send `tx_add_output` for the channel output
1413+
- MUST pay the fees for the shared transaction fields
14111414
- MUST NOT have sent or received a `channel_ready` message.
14121415

14131416
The recipient:
@@ -1430,6 +1433,10 @@ a large feerate change, instead sets their `sats` to zero, and decline to
14301433
participate further in the channel funding: by not contributing, they
14311434
may obtain incoming liquidity at no cost.
14321435

1436+
We allow both nodes to initiate RBF, because any one of them may want to take
1437+
this opportunity to contribute additional funds to the channel without
1438+
waiting for the initial funding transaction to confirm.
1439+
14331440
## Channel Quiescence
14341441

14351442
Various fundamental changes, in particular protocol upgrades, are

0 commit comments

Comments
 (0)