Tracks fee‐rate estimates derived from observed transactions.
Synopsis
Declared in <policy/fees/estimator_man.h>
class FeeRateEstimatorManager
: public CValidationInterface
Base Classes
Name |
Description |
Implement this to subscribe to events generated in validation and mempool |
Member Functions
Name |
Description |
|
Construct the manager and its underlying fee rate estimators. |
|
Destroy the manager and release its estimators. |
Delegate to the block policy estimator's estimateRawFee (used by the estimaterawfee RPC). |
|
Returns the maximum supported confirmation target of block policy estimator. |
|
|
|
Flush recorded data to disk. |
|
|
Returns the maximum supported confirmation target from all fee rate estimators. |
Returns per‐block weight statistics for the last MEMPOOL_HEALTH_WINDOW_BLOCKS mined blocks. |
|
Flush recorded data to disk as part of shutdown sequence. |
Protected Member Functions
Name |
Description |
|
Notifies listeners any time the block chain tip changes, synchronously. |
|
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). |
|
Notifies listeners of a block being connected. |
|
Notifies listeners of a block being disconnected Provides the block that was disconnected. |
|
Notifies listeners of the new active block chain on‐disk. |
|
Record mempool transactions that were removed because a block was connected. |
|
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. |
|
Record a transaction as it enters the mempool. |
|
Record a transaction as it leaves the mempool. |
|
Notifies listeners when the block chain tip advances. |
Non-Member Functions
Name |
Description |
Get the fee estimator from an opaque RPC context, asserting it is present. |
|
Get the fee estimator from a node context, asserting it is present. |
Created with MrDocs