[#node-BlockWaitOptions-fee_threshold] = xref:node.adoc[node]::xref:node/BlockWaitOptions.adoc[BlockWaitOptions]::fee_threshold :relfileprefix: ../../ :mrdocs: The wait method will not return a new template unless it has fees at least fee_threshold sats higher than the current template, or unless the chain tip changes and the previous template is no longer valid. == Synopsis Declared in `<node/mining_types.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] fee_threshold = {MAX_MONEY}; ---- == Description A caller may not be interested in templates with higher fees, and determining whether fee_threshold is reached is also expensive. So as an optimization, when fee_threshold is set to MAX_MONEY (default), the implementation is able to be much more efficient, skipping expensive checks and only returning new templates when the chain tip changes. [.small]#Created with https://www.mrdocs.com[MrDocs]#