Options controlling how long a block‐template wait call blocks and when it returns.

Synopsis

Declared in <node/mining_types.h>

struct BlockWaitOptions;

Data Members

Name

Description

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.

timeout

How long to wait before returning nullptr instead of a new template. Default is to wait forever.

Created with MrDocs