[#wallet-CoinSelectionParams-m_avoid_partial_spends]
= xref:wallet.adoc[wallet]::xref:wallet/CoinSelectionParams.adoc[CoinSelectionParams]::m&lowbar;avoid&lowbar;partial&lowbar;spends
:relfileprefix: ../../
:mrdocs:

When true, always spend all (up to OUTPUT&lowbar;GROUP&lowbar;MAX&lowbar;ENTRIES) or none of the outputs associated with the same address&period; This helps reduce privacy leaks resulting from address reuse&period; Dust outputs are not eligible to be added to output groups and thus not considered&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool m&lowbar;avoid&lowbar;partial&lowbar;spends = false;
----


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