aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2018-01-12 21:38:48 +0100
committerJorge Timón <jtimon@jtimon.cc>2018-03-29 06:24:30 +0200
commitcb1e319fe9e198c9c5cf5236fe9af5a3d748b9e8 (patch)
tree8838739229d115b134824dcb04c2494ac87b8379 /src/validation.h
parent624bee96597c1d59018e58131b8285c0b332700d (diff)
Bugfix: RPC: savemempool: Don't save until LoadMempool() is finished
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index 0a78075316..4031989f00 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -158,6 +158,7 @@ extern CScript COINBASE_FLAGS;
extern CCriticalSection cs_main;
extern CBlockPolicyEstimator feeEstimator;
extern CTxMemPool mempool;
+extern std::atomic_bool g_is_mempool_loaded;
typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
extern BlockMap& mapBlockIndex;
extern uint64_t nLastBlockTx;