Parameters for filtering which OutputGroups we may use in coin selection. We start by being very selective and requiring multiple confirmations and then get more permissive if we cannot fund the transaction.
Declared in <wallet/coinselection.h>
struct CoinEligibilityFilter;
| Name | Description |
|---|---|
CoinEligibilityFilter [constructor] | Constructors |
operator< | Order filters by their fields for use as a map key. |
| Name | Description |
|---|---|
conf_mine | Minimum number of confirmations for outputs that we sent to ourselves. We may use unconfirmed UTXOs sent from ourselves, e.g. change outputs. |
conf_theirs | Minimum number of confirmations for outputs received from a different wallet. |
m_include_partial_groups | When avoid_reuse=true and there are full groups (OUTPUT_GROUP_MAX_ENTRIES), whether or not to use any partial groups. |
max_ancestors | Maximum number of unconfirmed ancestors aggregated across all UTXOs in an OutputGroup. |
max_cluster_count | Maximum cluster count that a single UTXO in the OutputGroup may have. In practice, this filter also caps the maximum descendant count, as a transaction's descendant count is never larger than its cluster count. |