[#FeeRateEstimatorManager] = FeeRateEstimatorManager :mrdocs: Tracks fee‐rate estimates derived from observed transactions. == Synopsis Declared in `<policy/fees/estimator_man.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class FeeRateEstimatorManager : public xref:CValidationInterface.adoc[CValidationInterface] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:CValidationInterface.adoc[CValidationInterface]` | Implement this to subscribe to events generated in validation and mempool |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:FeeRateEstimatorManager/2constructor.adoc[`FeeRateEstimatorManager`] [.small]#[constructor]# | Construct the manager and its underlying fee rate estimators. | xref:FeeRateEstimatorManager/2destructor.adoc[`~FeeRateEstimatorManager`] [.small]#[destructor]# [.small]#[virtual]# | Destroy the manager and release its estimators. | xref:FeeRateEstimatorManager/BlockPolicyEstimateRawFee.adoc[`BlockPolicyEstimateRawFee`] | Delegate to the block policy estimator's estimateRawFee (used by the estimaterawfee RPC). | xref:FeeRateEstimatorManager/BlockPolicyHighestTargetTracked.adoc[`BlockPolicyHighestTargetTracked`] | Returns the maximum supported confirmation target of block policy estimator. | xref:FeeRateEstimatorManager/GetFeeRateEstimate-06.adoc[`GetFeeRateEstimate`] | `GetFeeRateEstimate` overloads | xref:FeeRateEstimatorManager/IntervalFlush.adoc[`IntervalFlush`] | Flush recorded data to disk. | xref:FeeRateEstimatorManager/MaximumTarget.adoc[`MaximumTarget`] [.small]#[virtual]# | Returns the maximum supported confirmation target from all fee rate estimators. | xref:FeeRateEstimatorManager/MempoolPolicyEstimatorBlocksStats.adoc[`MempoolPolicyEstimatorBlocksStats`] | Returns per‐block weight statistics for the last MEMPOOL_HEALTH_WINDOW_BLOCKS mined blocks. | xref:FeeRateEstimatorManager/ShutdownFlush.adoc[`ShutdownFlush`] | Flush recorded data to disk as part of shutdown sequence. |=== == Protected Member Functions [cols="1,4"] |=== | Name| Description | xref:CValidationInterface/ActiveTipChange.adoc[`ActiveTipChange`] [.small]#[virtual]# | Notifies listeners any time the block chain tip changes, synchronously. | xref:CValidationInterface/BlockChecked.adoc[`BlockChecked`] [.small]#[virtual]# | Notifies listeners of a block validation result. If the provided BlockValidationState IsValid, the provided block is guaranteed to be the current best block at the time the callback was generated (not necessarily now). | xref:CValidationInterface/BlockConnected.adoc[`BlockConnected`] [.small]#[virtual]# | Notifies listeners of a block being connected. | xref:CValidationInterface/BlockDisconnected.adoc[`BlockDisconnected`] [.small]#[virtual]# | Notifies listeners of a block being disconnected Provides the block that was disconnected. | xref:CValidationInterface/ChainStateFlushed.adoc[`ChainStateFlushed`] [.small]#[virtual]# | Notifies listeners of the new active block chain on‐disk. | xref:FeeRateEstimatorManager/MempoolTransactionsRemovedForBlock.adoc[`MempoolTransactionsRemovedForBlock`] [.small]#[virtual]# | Record mempool transactions that were removed because a block was connected. | xref:CValidationInterface/NewPoWValidBlock.adoc[`NewPoWValidBlock`] [.small]#[virtual]# | Notifies listeners that a block which builds directly on our current tip has been received and connected to the headers tree, though not validated yet. | xref:FeeRateEstimatorManager/TransactionAddedToMempool.adoc[`TransactionAddedToMempool`] [.small]#[virtual]# | Record a transaction as it enters the mempool. | xref:FeeRateEstimatorManager/TransactionRemovedFromMempool.adoc[`TransactionRemovedFromMempool`] [.small]#[virtual]# | Record a transaction as it leaves the mempool. | xref:CValidationInterface/UpdatedBlockTip.adoc[`UpdatedBlockTip`] [.small]#[virtual]# | Notifies listeners when the block chain tip advances. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:EnsureAnyFeeEstimatorMan.adoc[`EnsureAnyFeeEstimatorMan`] | Get the fee estimator from an opaque RPC context, asserting it is present. | xref:EnsureFeeEstimatorMan.adoc[`EnsureFeeEstimatorMan`] | Get the fee estimator from a node context, asserting it is present. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#