[#node-BlockWaitOptions]
= xref:node.adoc[node]::BlockWaitOptions
:relfileprefix: ../
:mrdocs:

Options controlling how long a block&hyphen;template wait call blocks and when it returns&period;

== Synopsis

Declared in `&lt;node&sol;mining&lowbar;types&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct BlockWaitOptions;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:node/BlockWaitOptions/fee_threshold.adoc[`fee&lowbar;threshold`] 
| The wait method will not return a new template unless it has fees at least fee&lowbar;threshold sats higher than the current template, or unless the chain tip changes and the previous template is no longer valid&period;
| xref:node/BlockWaitOptions/timeout.adoc[`timeout`] 
| How long to wait before returning nullptr instead of a new template&period; Default is to wait forever&period;
|===



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