![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | TxConfirmStats |
class | CBlockPolicyEstimator |
struct | CBlockPolicyEstimator::TxStatsInfo |
Variables | |
static const unsigned int | MAX_BLOCK_CONFIRMS = 25 |
static const double | DEFAULT_DECAY = .998 |
static const double | MIN_SUCCESS_PCT = .95 |
static const double | UNLIKELY_PCT = .5 |
static const double | SUFFICIENT_FEETXS = 1 |
static const double | SUFFICIENT_PRITXS = .2 |
static const double | MIN_FEERATE = 10 |
static const double | MAX_FEERATE = 1e7 |
static const double | INF_FEERATE = MAX_MONEY |
static const double | MIN_PRIORITY = 10 |
static const double | MAX_PRIORITY = 1e16 |
static const double | INF_PRIORITY = 1e9 * MAX_MONEY |
static const double | FEE_SPACING = 1.1 |
static const double | PRI_SPACING = 2 |
|
static |
Decay of .998 is a half-life of 346 blocks or about 14.4 hours
Definition at line 184 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Spacing of FeeRate buckets
Definition at line 208 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Definition at line 199 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator(), and CBlockPolicyEstimator::processBlock().
|
static |
Definition at line 202 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator(), CBlockPolicyEstimator::estimateSmartPriority(), and CBlockPolicyEstimator::processBlock().
|
static |
Track confirm delays up to 25 blocks, can't estimate beyond that
Definition at line 181 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Definition at line 198 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Definition at line 201 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Definition at line 197 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Definition at line 200 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Require greater than 95% of X fee transactions to be confirmed within Y blocks for X to be big enough
Definition at line 187 of file fees.h.
Referenced by CBlockPolicyEstimator::estimateFee(), CBlockPolicyEstimator::estimatePriority(), CBlockPolicyEstimator::estimateSmartFee(), CBlockPolicyEstimator::estimateSmartPriority(), and CBlockPolicyEstimator::processBlock().
|
static |
Spacing of Priority buckets
Definition at line 211 of file fees.h.
Referenced by CBlockPolicyEstimator::CBlockPolicyEstimator().
|
static |
Require an avg of 1 tx in the combined fee bucket per block to have stat significance
Definition at line 191 of file fees.h.
Referenced by CBlockPolicyEstimator::estimateFee(), CBlockPolicyEstimator::estimateSmartFee(), and CBlockPolicyEstimator::processBlock().
|
static |
Require only an avg of 1 tx every 5 blocks in the combined pri bucket (way less pri txs)
Definition at line 194 of file fees.h.
Referenced by CBlockPolicyEstimator::estimatePriority(), CBlockPolicyEstimator::estimateSmartPriority(), and CBlockPolicyEstimator::processBlock().
|
static |
Definition at line 188 of file fees.h.
Referenced by CBlockPolicyEstimator::processBlock().