[#wallet-CoinEligibilityFilter-2constructor-07]
= xref:wallet.adoc[wallet]::xref:wallet/CoinEligibilityFilter.adoc[CoinEligibilityFilter]::CoinEligibilityFilter
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;wallet&sol;coinselection&period;h&gt;`

Default construction is disabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/CoinEligibilityFilter/2constructor-06.adoc[CoinEligibilityFilter]() = delete;
----

[.small]#xref:wallet/CoinEligibilityFilter/2constructor-06.adoc[_» more&period;&period;&period;_]#

Construct a filter using the ancestor limit as the cluster limit&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/CoinEligibilityFilter/2constructor-0d.adoc[CoinEligibilityFilter](
    int conf&lowbar;mine,
    int conf&lowbar;theirs,
    uint64&lowbar;t max&lowbar;ancestors);
----

[.small]#xref:wallet/CoinEligibilityFilter/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Construct a filter with separate ancestor and cluster limits&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/CoinEligibilityFilter/2constructor-05.adoc[CoinEligibilityFilter](
    int conf&lowbar;mine,
    int conf&lowbar;theirs,
    uint64&lowbar;t max&lowbar;ancestors,
    uint64&lowbar;t max&lowbar;cluster&lowbar;count);
----

[.small]#xref:wallet/CoinEligibilityFilter/2constructor-05.adoc[_» more&period;&period;&period;_]#

Construct a filter that also controls whether partial groups may be used&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/CoinEligibilityFilter/2constructor-0f.adoc[CoinEligibilityFilter](
    int conf&lowbar;mine,
    int conf&lowbar;theirs,
    uint64&lowbar;t max&lowbar;ancestors,
    uint64&lowbar;t max&lowbar;cluster&lowbar;count,
    bool include&lowbar;partial);
----

[.small]#xref:wallet/CoinEligibilityFilter/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *conf&lowbar;mine*
| Minimum confirmations required for outputs we sent to ourselves&period;
| *conf&lowbar;theirs*
| Minimum confirmations required for outputs received from others&period;
| *max&lowbar;ancestors*
| Maximum aggregated unconfirmed ancestors across the group&period;
| *max&lowbar;cluster&lowbar;count*
| Maximum cluster count allowed for any single UTXO in the group&period;
| *include&lowbar;partial*
| Whether to allow partial output groups when full groups exist&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
