Bitcoin Core 31.99.0
P2P Digital Currency
Classes | Variables
mempool_estimator.h File Reference
#include <primitives/transaction.h>
#include <sync.h>
#include <threadsafety.h>
#include <uint256.h>
#include <util/expected.h>
#include <util/feefrac.h>
#include <util/fees.h>
#include <util/fs.h>
#include <util/time.h>
#include <chrono>
#include <memory>
#include <optional>
#include <span>
#include <vector>
Include dependency graph for mempool_estimator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MinedBlockStats
 Weight statistics for a recently mined block, used to assess mempool coverage. More...
 
class  MemPoolFeeRateEstimatorCache
 MemPoolFeeRateEstimatorCache holds a cache of recent fee rate estimates. More...
 
struct  MemPoolFeeRateEstimatorCache::FeeRateEstimate
 
class  MemPoolFeeRateEstimator
 Estimate the fee rate required for a transaction to be included in the next block. More...
 
struct  MemPoolFeeRateEstimator::Percentiles
 

Variables

constexpr int MEMPOOL_FEE_ESTIMATOR_MAX_TARGET {2}
 
constexpr std::chrono::seconds CACHE_LIFE {7}
 
constexpr size_t MEMPOOL_HEALTH_WINDOW_BLOCKS = 6
 
constexpr double MEMPOOL_REPRESENTATION_THRESHOLD = 0.75
 

Variable Documentation

◆ CACHE_LIFE

constexpr std::chrono::seconds CACHE_LIFE {7}
constexpr

Definition at line 34 of file mempool_estimator.h.

◆ MEMPOOL_FEE_ESTIMATOR_MAX_TARGET

constexpr int MEMPOOL_FEE_ESTIMATOR_MAX_TARGET {2}
constexpr

Definition at line 33 of file mempool_estimator.h.

◆ MEMPOOL_HEALTH_WINDOW_BLOCKS

constexpr size_t MEMPOOL_HEALTH_WINDOW_BLOCKS = 6
constexpr

Definition at line 37 of file mempool_estimator.h.

◆ MEMPOOL_REPRESENTATION_THRESHOLD

constexpr double MEMPOOL_REPRESENTATION_THRESHOLD = 0.75
constexpr

Definition at line 38 of file mempool_estimator.h.