@@ -2402,9 +2402,11 @@ impl AddSigned for u64 {
2402
2402
}
2403
2403
}
2404
2404
2405
- /// Info about a pending splice
2405
+ /// Information about pending attempts at funding a channel. This includes funding currently under
2406
+ /// negotiation and any negotiated attempts waiting enough on-chain confirmations. More than one
2407
+ /// such attempt indicates use of RBF to increase the chances of confirmation.
2406
2408
#[cfg(splicing)]
2407
- struct PendingSplice {
2409
+ struct PendingFunding {
2408
2410
funding_negotiation: Option<FundingNegotiation>,
2409
2411
2410
2412
/// Funding candidates that have been negotiated but have not reached enough confirmations
@@ -2437,7 +2439,7 @@ impl FundingNegotiation {
2437
2439
}
2438
2440
2439
2441
#[cfg(splicing)]
2440
- impl PendingSplice {
2442
+ impl PendingFunding {
2441
2443
fn check_get_splice_locked<SP: Deref>(
2442
2444
&mut self, context: &ChannelContext<SP>, confirmed_funding_index: usize, height: u32,
2443
2445
) -> Option<msgs::SpliceLocked>
@@ -6454,7 +6456,7 @@ where
6454
6456
holder_commitment_point: HolderCommitmentPoint,
6455
6457
/// Info about an in-progress, pending splice (if any), on the pre-splice channel
6456
6458
#[cfg(splicing)]
6457
- pending_splice: Option<PendingSplice >,
6459
+ pending_splice: Option<PendingFunding >,
6458
6460
6459
6461
/// Once we become quiescent, if we're the initiator, there's some action we'll want to take.
6460
6462
/// This keeps track of that action. Note that if we become quiescent and we're not the
@@ -11388,7 +11390,7 @@ where
11388
11390
change_script,
11389
11391
};
11390
11392
11391
- self.pending_splice = Some(PendingSplice {
11393
+ self.pending_splice = Some(PendingFunding {
11392
11394
funding_negotiation: Some(FundingNegotiation::AwaitingAck(funding_negotiation_context)),
11393
11395
negotiated_candidates: vec![],
11394
11396
sent_funding_txid: None,
@@ -11613,7 +11615,7 @@ where
11613
11615
11614
11616
let funding_pubkey = splice_funding.get_holder_pubkeys().funding_pubkey;
11615
11617
11616
- self.pending_splice = Some(PendingSplice {
11618
+ self.pending_splice = Some(PendingFunding {
11617
11619
funding_negotiation: Some(FundingNegotiation::ConstructingTransaction(
11618
11620
splice_funding,
11619
11621
interactive_tx_constructor,
0 commit comments