Bitcoin Core  0.18.99
P2P Digital Currency
Classes | Enumerations | Functions
fees.h File Reference
#include <amount.h>
#include <policy/feerate.h>
#include <uint256.h>
#include <random.h>
#include <sync.h>
#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
 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  FeeEstimateHorizon { FeeEstimateHorizon::SHORT_HALFLIFE = 0, FeeEstimateHorizon::MED_HALFLIFE = 1, FeeEstimateHorizon::LONG_HALFLIFE = 2 }
 
enum  FeeReason {
  FeeReason::NONE, FeeReason::HALF_ESTIMATE, FeeReason::FULL_ESTIMATE, FeeReason::DOUBLE_ESTIMATE,
  FeeReason::CONSERVATIVE, FeeReason::MEMPOOL_MIN, FeeReason::PAYTXFEE, FeeReason::FALLBACK,
  FeeReason::REQUIRED
}
 
enum  FeeEstimateMode { FeeEstimateMode::UNSET, FeeEstimateMode::ECONOMICAL, FeeEstimateMode::CONSERVATIVE }
 

Functions

std::string StringForFeeEstimateHorizon (FeeEstimateHorizon horizon)
 

Enumeration Type Documentation

◆ FeeEstimateHorizon

enum FeeEstimateHorizon
strong
Enumerator
SHORT_HALFLIFE 
MED_HALFLIFE 
LONG_HALFLIFE 

Definition at line 27 of file fees.h.

◆ FeeEstimateMode

enum FeeEstimateMode
strong
Enumerator
UNSET 

Use default settings based on other criteria.

ECONOMICAL 

Force estimateSmartFee to use non-conservative estimates.

CONSERVATIVE 

Force estimateSmartFee to use conservative estimates.

Definition at line 49 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 36 of file fees.h.

Function Documentation

◆ StringForFeeEstimateHorizon()

std::string StringForFeeEstimateHorizon ( FeeEstimateHorizon  horizon)

Definition at line 16 of file fees.cpp.

Here is the caller graph for this function: