[#node-BlockWaitOptions] = xref:node.adoc[node]::BlockWaitOptions :relfileprefix: ../ :mrdocs: Options controlling how long a block‐template wait call blocks and when it returns. == Synopsis Declared in `<node/mining_types.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BlockWaitOptions; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:node/BlockWaitOptions/fee_threshold.adoc[`fee_threshold`] | 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. | xref:node/BlockWaitOptions/timeout.adoc[`timeout`] | How long to wait before returning nullptr instead of a new template. Default is to wait forever. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#