diff options
| author | Jorge Timón <[email protected]> | 2018-01-12 21:38:48 +0100 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2018-03-29 06:24:30 +0200 |
| commit | cb1e319fe9e198c9c5cf5236fe9af5a3d748b9e8 (patch) | |
| tree | 8838739229d115b134824dcb04c2494ac87b8379 /src/validation.h | |
| parent | Merge #11881: Remove Python2 support (diff) | |
| download | discoin-cb1e319fe9e198c9c5cf5236fe9af5a3d748b9e8.tar.xz discoin-cb1e319fe9e198c9c5cf5236fe9af5a3d748b9e8.zip | |
Bugfix: RPC: savemempool: Don't save until LoadMempool() is finished
Diffstat (limited to 'src/validation.h')
| -rw-r--r-- | src/validation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h index 0a7807531..4031989f0 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; |