diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-10-26 14:55:17 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-10-26 14:58:17 +0100 |
commit | 0d699fc821048ab9316b0004e6552c8f1dc5e5f4 (patch) | |
tree | 96c6d0c6903133255916e568729a5a398d0ce032 /src/txmempool.h | |
parent | 867d6c90b85070644c3458e3e7ed168765523361 (diff) |
fix locking issue with new mempool limiting
Current master crashes on OSX with an exception: "boost: mutex lock failed in pthread_mutex_lock: Invalid argument"
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index d44995eefe..dedc7ba72c 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -375,6 +375,7 @@ public: void removeForBlock(const std::vector<CTransaction>& vtx, unsigned int nBlockHeight, std::list<CTransaction>& conflicts, bool fCurrentEstimate = true); void clear(); + void _clear(); //lock free void queryHashes(std::vector<uint256>& vtxid); void pruneSpent(const uint256& hash, CCoins &coins); unsigned int GetTransactionsUpdated() const; |