We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
UtxoFilter
1 parent 8b5ad3c commit 6b039f4Copy full SHA for 6b039f4
1 file changed
src/psbt/params.rs
@@ -447,8 +447,9 @@ pub enum SelectionStrategy {
447
LowestFee,
448
}
449
450
-/// [`UtxoFilter`] is a user-defined `Fn` closure which decides whether to exclude a UTXO
451
-/// from being selected.
+/// [`UtxoFilter`] is a user-defined `Fn` closure which decides whether to include a UTXO
+/// for coin selection. This has a default implementation that enables selection of all
452
+/// txouts passed to it.
453
#[allow(clippy::type_complexity)]
454
pub(crate) struct UtxoFilter(
455
pub Arc<dyn Fn(&FullTxOut<ConfirmationBlockTime>) -> bool + Send + Sync>,
0 commit comments