diff options
| author | Alex Morcos <[email protected]> | 2016-11-11 13:14:45 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-01-04 12:09:34 -0500 |
| commit | d825838e6472f73c491f93506cb003472f071602 (patch) | |
| tree | fac9c77e0b7b6c6cb2b5b198a31cf20ed1dc56a2 /src/policy/fees.h | |
| parent | rename bool to validFeeEstimate (diff) | |
| download | discoin-d825838e6472f73c491f93506cb003472f071602.tar.xz discoin-d825838e6472f73c491f93506cb003472f071602.zip | |
Always update fee estimates on new blocks.
All decisions about whether the transactions are valid data points are made at the time the transaction arrives. Updating on blocks all the time will now cause stale fee estimates to decay quickly when we restart a node.
Diffstat (limited to 'src/policy/fees.h')
| -rw-r--r-- | src/policy/fees.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index e062cd87b..a61ae1813 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -203,7 +203,7 @@ public: /** Process all the transactions that have been included in a block */ void processBlock(unsigned int nBlockHeight, - std::vector<CTxMemPoolEntry>& entries, bool fCurrentEstimate); + std::vector<CTxMemPoolEntry>& entries); /** Process a transaction confirmed in a block*/ void processBlockTx(unsigned int nBlockHeight, const CTxMemPoolEntry& entry); |