diff options
| author | Alex Morcos <[email protected]> | 2017-02-14 16:54:46 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-04-10 13:51:51 -0400 |
| commit | ae7327b8322d36d00047e92fe699371185de1c68 (patch) | |
| tree | dc0fc0e80ff4e6a34bfd2ac01c7441da0b229d07 /src/validation.cpp | |
| parent | Merge #10164: Wallet: reduce excess logic InMempool() (diff) | |
| download | discoin-ae7327b8322d36d00047e92fe699371185de1c68.tar.xz discoin-ae7327b8322d36d00047e92fe699371185de1c68.zip | |
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 35b957a45..95b94d6b0 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); |