Skip to content

Commit ddb3b37

Browse files
committed
Add a quick TODO about merging cp- and locally-initiated splices
1 parent 10e579e commit ddb3b37

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
@@ -10864,6 +10864,11 @@ where
1086410864
})?;
1086510865
debug_assert!(interactive_tx_constructor.take_initiator_first_message().is_none());
1086610866

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

1086910874
self.pending_splice = Some(PendingSplice {

0 commit comments

Comments
 (0)