diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-02-14 16:54:46 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-04-10 13:51:51 -0400 |
commit | ae7327b8322d36d00047e92fe699371185de1c68 (patch) | |
tree | dc0fc0e80ff4e6a34bfd2ac01c7441da0b229d07 /src/validation.cpp | |
parent | e183ea2047b3ccdbadbc7dfd5828aada9ed270a3 (diff) |
Make feeEstimator its own global instance of CBlockPolicyEstimator
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 35b957a451..95b94d6b06 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -80,7 +80,8 @@ uint256 hashAssumeValid; CFeeRate minRelayTxFee = CFeeRate(DEFAULT_MIN_RELAY_TX_FEE); CAmount maxTxFee = DEFAULT_TRANSACTION_MAXFEE; -CTxMemPool mempool; +CBlockPolicyEstimator feeEstimator; +CTxMemPool mempool(&feeEstimator); static void CheckBlockIndex(const Consensus::Params& consensusParams); |