File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,17 @@ pub enum ConfirmationTarget {
124
124
///
125
125
/// [`ChannelManager::close_channel_with_feerate_and_script`]: crate::ln::channelmanager::ChannelManager::close_channel_with_feerate_and_script
126
126
ChannelCloseMinimum ,
127
+ /// The feerate [`OutputSweeper`] will use on transactions spending
128
+ /// [`SpendableOutputDescriptor`]s after a channel closure.
129
+ ///
130
+ /// Generally spending these outputs is safe as long as they eventually confirm, so a value
131
+ /// (slightly above) the mempool minimum should suffice. However, as this value will influence
132
+ /// how long funds will be unavailable after channel closure, implementors might want to choose
133
+ /// a higher feerate to have user regain control over their funds faster.
134
+ ///
135
+ /// [`OutputSweeper`]: crate::util::sweep::OutputSweeper
136
+ /// [`SpendableOutputDescriptor`]: crate::sign::SpendableOutputDescriptor
137
+ OutputSpendingFee ,
127
138
}
128
139
129
140
/// A trait which should be implemented to provide feerate information on a number of time
You can’t perform that action at this time.
0 commit comments