diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2018-01-12 21:38:48 +0100 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2018-03-29 06:24:30 +0200 |
commit | cb1e319fe9e198c9c5cf5236fe9af5a3d748b9e8 (patch) | |
tree | 8838739229d115b134824dcb04c2494ac87b8379 /src/validation.cpp | |
parent | 624bee96597c1d59018e58131b8285c0b332700d (diff) |
Bugfix: RPC: savemempool: Don't save until LoadMempool() is finished
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 839b248143..d6848a3aca 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -227,6 +227,7 @@ CAmount maxTxFee = DEFAULT_TRANSACTION_MAXFEE; CBlockPolicyEstimator feeEstimator; CTxMemPool mempool(&feeEstimator); +std::atomic_bool g_is_mempool_loaded{false}; /** Constant stuff for coinbase transactions we create: */ CScript COINBASE_FLAGS; |