Skip to content

Commit 76210a8

Browse files
committed
Add a quick TODO about merging cp- and locally-initiated splices
1 parent d7f0ffc commit 76210a8

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
@@ -10884,6 +10884,11 @@ where
1088410884
})?;
1088510885
debug_assert!(interactive_tx_constructor.take_initiator_first_message().is_none());
1088610886

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

1088910894
self.pending_splice = Some(PendingSplice {

0 commit comments

Comments
 (0)