![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
#include <types.h>
Public Attributes | |
MillisecondsDouble | timeout {MillisecondsDouble::max()} |
How long to wait before returning nullptr instead of a new template. More... | |
CAmount | fee_threshold {MAX_MONEY} |
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. More... | |
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.
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.
MillisecondsDouble node::BlockWaitOptions::timeout {MillisecondsDouble::max()} |