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

Name

Description

mempool_estimator_file_path

Path to the file that persists mined‐block statistics.

mempool

The mempool to build block templates from.

chainman

The chainstate manager providing the active chain.

Created with MrDocs