Skip to content

Commit d9a278c

Browse files
committed
Add a quick TODO about merging cp- and locally-initiated splices
1 parent 5920de8 commit d9a278c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11152,6 +11152,11 @@ where
1115211152
})?;
1115311153
debug_assert!(interactive_tx_constructor.take_initiator_first_message().is_none());
1115411154

11155+
// TODO(splicing): if post_quiescence_action is set, integrate what the user wants to do
11156+
// into the counterparty-initiated splice. For always-on nodes this probably isn't a useful
11157+
// optimization, but for often-offline nodes it may be, as we may connect and immediately
11158+
// go into splicing from both sides.
11159+
1115511160
let funding_pubkey = splice_funding.get_holder_pubkeys().funding_pubkey;
1115611161

1115711162
self.pending_splice = Some(PendingSplice {

0 commit comments

Comments
 (0)