Bitcoin Core  21.99.0
P2P Digital Currency
Classes | Enumerations | Functions | Variables
fees.h File Reference
#include <amount.h>
#include <policy/feerate.h>
#include <uint256.h>
#include <random.h>
#include <sync.h>
#include <array>
#include <map>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for fees.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EstimatorBucket
 
struct  EstimationResult
 
struct  FeeCalculation
 
class  CBlockPolicyEstimator
 
struct  CBlockPolicyEstimator::TxStatsInfo
 
class  FeeFilterRounder
 

Enumerations

enum  FeeEstimateHorizon { FeeEstimateHorizon::SHORT_HALFLIFE, FeeEstimateHorizon::MED_HALFLIFE, FeeEstimateHorizon::LONG_HALFLIFE }
 
enum  FeeReason {
  FeeReason::NONE, FeeReason::HALF_ESTIMATE, FeeReason::FULL_ESTIMATE, FeeReason::DOUBLE_ESTIMATE,
  FeeReason::CONSERVATIVE, FeeReason::MEMPOOL_MIN, FeeReason::PAYTXFEE, FeeReason::FALLBACK,
  FeeReason::REQUIRED
}
 

Functions

std::string StringForFeeEstimateHorizon (FeeEstimateHorizon horizon)
 

Variables

static constexpr auto ALL_FEE_ESTIMATE_HORIZONS
 

Enumeration Type Documentation

◆ FeeEstimateHorizon

enum FeeEstimateHorizon
strong
Enumerator
SHORT_HALFLIFE 
MED_HALFLIFE 
LONG_HALFLIFE 

Definition at line 28 of file fees.h.

◆ FeeReason

enum FeeReason
strong
Enumerator
NONE 
HALF_ESTIMATE 
FULL_ESTIMATE 
DOUBLE_ESTIMATE 
CONSERVATIVE 
MEMPOOL_MIN 
PAYTXFEE 
FALLBACK 
REQUIRED 

Definition at line 43 of file fees.h.

Function Documentation

◆ StringForFeeEstimateHorizon()

std::string StringForFeeEstimateHorizon ( FeeEstimateHorizon  horizon)

Definition at line 19 of file fees.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ALL_FEE_ESTIMATE_HORIZONS

constexpr auto ALL_FEE_ESTIMATE_HORIZONS
staticconstexpr
FeeEstimateHorizon::LONG_HALFLIFE
@ LONG_HALFLIFE
FeeEstimateHorizon::SHORT_HALFLIFE
@ SHORT_HALFLIFE
FeeEstimateHorizon::MED_HALFLIFE
@ MED_HALFLIFE