File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,6 @@ pub enum ConfirmationTarget {
62
62
/// on-chain (it doesn't have to happen in the next few blocks!), but we shouldn't risk too low
63
63
/// a fee - this should be a relatively high priority feerate.
64
64
UrgentOnChainSweep ,
65
- /// We have some funds available on chain which we need to spend but have no particular urgency
66
- /// to do so.
67
- NonUrgentOnChainSweep ,
68
65
/// This is the lowest feerate we will allow our channel counterparty to have in an anchor
69
66
/// channel in order to close the channel if a channel party goes away.
70
67
///
@@ -135,8 +132,11 @@ pub enum ConfirmationTarget {
135
132
///
136
133
/// [`ChannelManager::close_channel_with_feerate_and_script`]: crate::ln::channelmanager::ChannelManager::close_channel_with_feerate_and_script
137
134
ChannelCloseMinimum ,
138
- /// The feerate [`OutputSweeper`] will use on transactions spending
139
- /// [`SpendableOutputDescriptor`]s after a channel closure.
135
+ /// The feerate used to claim on-chain funds when there is no particular urgency to do so.
136
+ ///
137
+ /// It is used to get commitment transactions without any HTLCs confirmed in [`ChannelMonitor`]
138
+ /// and by [`OutputSweeper`] on transactions spending [`SpendableOutputDescriptor`]s after a
139
+ /// channel closure.
140
140
///
141
141
/// Generally spending these outputs is safe as long as they eventually confirm, so a value
142
142
/// (slightly above) the mempool minimum should suffice. However, as this value will influence
Original file line number Diff line number Diff line change @@ -2707,7 +2707,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
2707
2707
return ConfirmationTarget :: UrgentOnChainSweep ;
2708
2708
}
2709
2709
}
2710
- ConfirmationTarget :: NonUrgentOnChainSweep
2710
+ ConfirmationTarget :: OutputSpendingFee
2711
2711
}
2712
2712
2713
2713
/// Inserts a revocation secret into this channel monitor. Prunes old preimages if neither
You can’t perform that action at this time.
0 commit comments