diff options
| author | Alex Morcos <[email protected]> | 2015-11-16 15:18:15 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2015-11-16 15:33:06 -0500 |
| commit | f22ac4a22c570921f1c2be121e6744a1564b2ce7 (patch) | |
| tree | 8954f41b86154f914d0cd96e70732ab30e3449c4 /src/policy/fees.h | |
| parent | Change wallet and GUI code to use new smart fee estimation calls. (diff) | |
| download | discoin-f22ac4a22c570921f1c2be121e6744a1564b2ce7.tar.xz discoin-f22ac4a22c570921f1c2be121e6744a1564b2ce7.zip | |
Increase success threshold for fee estimation to 95%
This provides more conservative estimates and reacts more quickly to a backlog.
Unfortunately the unit test for fee estimation depends on the success threshold (and the decay) chosen; also modify the unit test for the new default success thresholds.
Diffstat (limited to 'src/policy/fees.h')
| -rw-r--r-- | src/policy/fees.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index 4c6e27fc1..07caa6e71 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -182,8 +182,8 @@ static const unsigned int MAX_BLOCK_CONFIRMS = 25; /** Decay of .998 is a half-life of 346 blocks or about 2.4 days */ static const double DEFAULT_DECAY = .998; -/** Require greater than 85% of X fee transactions to be confirmed within Y blocks for X to be big enough */ -static const double MIN_SUCCESS_PCT = .85; +/** Require greater than 95% of X fee transactions to be confirmed within Y blocks for X to be big enough */ +static const double MIN_SUCCESS_PCT = .95; static const double UNLIKELY_PCT = .5; /** Require an avg of 1 tx in the combined fee bucket per block to have stat significance */ |