CBlockPolicyEstimator::CBlockPolicyEstimator

Create new BlockPolicyEstimator and initialize stats tracking classes with default values.

Synopsis

Declared in <policy/fees/block_policy_estimator.h>

CBlockPolicyEstimator(
    fs::path const& estimation_filepath,
    bool read_stale_estimates);

Parameters

NameDescription
estimation_filepathPath to the file used to persist fee estimation data.
read_stale_estimatesWhether to load an estimation file older than MAX_FILE_AGE.