Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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>


Go to the source code of this file.
Classes | |
struct | EstimatorBucket |
struct | EstimationResult |
struct | FeeCalculation |
class | CBlockPolicyEstimator |
We want to be able to estimate feerates that are needed on tx's to be included in a certain number of blocks. More... | |
struct | CBlockPolicyEstimator::TxStatsInfo |
Functions | |
std::string | StringForFeeEstimateHorizon (FeeEstimateHorizon horizon) |
std::string | StringForFeeReason (FeeReason reason) |
bool | FeeModeFromString (const std::string &mode_string, FeeEstimateMode &fee_estimate_mode) |
Enumeration Type Documentation
◆ FeeEstimateHorizon
enum FeeEstimateHorizon |
◆ FeeEstimateMode
|
strong |
◆ FeeReason
|
strong |
Function Documentation
◆ FeeModeFromString()
bool FeeModeFromString | ( | const std::string & | mode_string, |
FeeEstimateMode & | fee_estimate_mode | ||
) |
Definition at line 50 of file fees.cpp.
References CONSERVATIVE, ECONOMICAL, and UNSET.
Referenced by estimatesmartfee(), fundrawtransaction(), sendmany(), and sendtoaddress().
◆ StringForFeeEstimateHorizon()
std::string StringForFeeEstimateHorizon | ( | FeeEstimateHorizon | horizon | ) |
Definition at line 17 of file fees.cpp.
References LONG_HALFLIFE, MED_HALFLIFE, and SHORT_HALFLIFE.
Referenced by estimaterawfee().
◆ StringForFeeReason()
std::string StringForFeeReason | ( | FeeReason | reason | ) |
Definition at line 30 of file fees.cpp.
References CONSERVATIVE, DOUBLE_ESTIMATE, FALLBACK, FULL_ESTIMATE, HALF_ESTIMATE, MAXTXFEE, MEMPOOL_MIN, NONE, PAYTXFEE, and REQUIRED.
Referenced by CWallet::CreateTransaction().