[#wallet-DEFAULT_MAX_AVOIDPARTIALSPEND_FEE] = xref:wallet.adoc[wallet]::DEFAULT_MAX_AVOIDPARTIALSPEND_FEE :relfileprefix: ../ :mrdocs: maximum fee increase allowed to do partial spend avoidance, even for nodes with this feature disabled by default == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- inline constexpr xref:CAmount.adoc[CAmount] DEFAULT_MAX_AVOIDPARTIALSPEND_FEE = 0; ---- == Description A value of ‐1 disables this feature completely. A value of 0 (current default) means to attempt to do partial spend avoidance, and use its results if the fees remain _unchanged_ A value > 0 means to do partial spend avoidance if the fee difference against a regular coin selection instance is in the range [0..value]. [.small]#Created with https://www.mrdocs.com[MrDocs]#