Bitcoin Core  25.99.0
P2P Digital Currency
Classes | Enumerations | Functions | Variables
fees.h File Reference
#include <consensus/amount.h>
#include <policy/feerate.h>
#include <random.h>
#include <sync.h>
#include <threadsafety.h>
#include <uint256.h>
#include <util/fs.h>
#include <array>
#include <map>
#include <memory>
#include <set>
#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
 The BlockPolicyEstimator is used for estimating the feerate needed for a transaction to be included in a block within a certain number of blocks. More...
 
struct  CBlockPolicyEstimator::TxStatsInfo
 
class  FeeFilterRounder
 

Enumerations

enum class  FeeEstimateHorizon { SHORT_HALFLIFE , MED_HALFLIFE , LONG_HALFLIFE }
 
enum class  FeeReason {
  NONE , HALF_ESTIMATE , FULL_ESTIMATE , DOUBLE_ESTIMATE ,
  CONSERVATIVE , MEMPOOL_MIN , PAYTXFEE , FALLBACK ,
  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 29 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 44 of file fees.h.

Function Documentation

◆ StringForFeeEstimateHorizon()

std::string StringForFeeEstimateHorizon ( FeeEstimateHorizon  horizon)

Definition at line 36 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