![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#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 <validationinterface.h>#include <array>#include <chrono>#include <map>#include <memory>#include <set>#include <string>#include <vector>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 , FALLBACK , REQUIRED } |
Functions | |
| std::string | StringForFeeEstimateHorizon (FeeEstimateHorizon horizon) |
Variables | |
| static constexpr std::chrono::hours | FEE_FLUSH_INTERVAL {1} |
| static constexpr std::chrono::hours | MAX_FILE_AGE {60} |
| fee_estimates.dat that are more than 60 hours (2.5 days) old will not be read, as fee estimates are based on historical data and may be inaccurate if network activity has changed. More... | |
| static constexpr bool | DEFAULT_ACCEPT_STALE_FEE_ESTIMATES {false} |
| static constexpr auto | ALL_FEE_ESTIMATE_HORIZONS |
|
strong |
| Enumerator | |
|---|---|
| SHORT_HALFLIFE | |
| MED_HALFLIFE | |
| LONG_HALFLIFE | |
Definition at line 45 of file block_policy_estimator.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| HALF_ESTIMATE | |
| FULL_ESTIMATE | |
| DOUBLE_ESTIMATE | |
| CONSERVATIVE | |
| MEMPOOL_MIN | |
| FALLBACK | |
| REQUIRED | |
Definition at line 60 of file block_policy_estimator.h.
| std::string StringForFeeEstimateHorizon | ( | FeeEstimateHorizon | horizon | ) |
Definition at line 41 of file block_policy_estimator.cpp.
|
staticconstexpr |
Definition at line 51 of file block_policy_estimator.h.
|
staticconstexpr |
Definition at line 36 of file block_policy_estimator.h.
|
staticconstexpr |
Definition at line 27 of file block_policy_estimator.h.
|
staticconstexpr |
fee_estimates.dat that are more than 60 hours (2.5 days) old will not be read, as fee estimates are based on historical data and may be inaccurate if network activity has changed.
Definition at line 33 of file block_policy_estimator.h.