MemPoolFeeRateEstimator::MemPoolFeeRateEstimator

Constructs the estimator bound to a mempool and chainstate.

Synopsis

Declared in <policy/fees/mempool_estimator.h>

MemPoolFeeRateEstimator(
    fs::path mempool_estimator_file_path,
    CTxMemPool const& mempool,
    ChainstateManager& chainman);

Parameters

NameDescription
mempool_estimator_file_pathPath to the file that persists mined-block statistics.
mempoolThe mempool to build block templates from.
chainmanThe chainstate manager providing the active chain.