aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-02-14 16:54:46 -0500
committerAlex Morcos <morcos@chaincode.com>2017-04-10 13:51:51 -0400
commitae7327b8322d36d00047e92fe699371185de1c68 (patch)
treedc0fc0e80ff4e6a34bfd2ac01c7441da0b229d07 /src/validation.h
parente183ea2047b3ccdbadbc7dfd5828aada9ed270a3 (diff)
Make feeEstimator its own global instance of CBlockPolicyEstimator
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index 4aa10cbb0b..075a836a9f 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -39,6 +39,7 @@ class CChainParams;
class CInv;
class CConnman;
class CScriptCheck;
+class CBlockPolicyEstimator;
class CTxMemPool;
class CValidationInterface;
class CValidationState;
@@ -152,6 +153,7 @@ struct BlockHasher
extern CScript COINBASE_FLAGS;
extern CCriticalSection cs_main;
+extern CBlockPolicyEstimator feeEstimator;
extern CTxMemPool mempool;
typedef boost::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
extern BlockMap mapBlockIndex;