Returns cached estimates if not stale and computed on tip_hash, nullopt otherwise.
Synopsis
Declared in <policy/fees/mempool_estimator.h>
std::optional<FeeRateEstimate>
GetCachedEstimate(uint256 const& tip_hash) const;
Return Value
The cached estimate when fresh and computed on tip_hash, otherwise nullopt.
Parameters
Name |
Description |
tip_hash |
Hash of the chain tip the caller expects the estimate to match. |
Created with MrDocs