More precise terminology: "lock free" -> "unlocked"
This commit is contained in:
parent
ad8abd68a1
commit
465c2492e7
|
@ -59,7 +59,7 @@ CTxMemPoolEntry::GetPriority(unsigned int currentHeight) const
|
|||
CTxMemPool::CTxMemPool(const CFeeRate& _minRelayFee) :
|
||||
nTransactionsUpdated(0)
|
||||
{
|
||||
_clear(); //lock free clear
|
||||
_clear(); // unlocked clear
|
||||
|
||||
// Sanity checks off by default for performance, because otherwise
|
||||
// accepting transactions becomes O(N^2) where N is the number
|
||||
|
|
|
@ -210,7 +210,7 @@ public:
|
|||
std::list<CTransaction>& conflicts, bool fCurrentEstimate = true);
|
||||
void removeWithoutBranchId(uint32_t nMemPoolBranchId);
|
||||
void clear();
|
||||
void _clear(); //lock free
|
||||
void _clear(); // unlocked
|
||||
void queryHashes(std::vector<uint256>& vtxid);
|
||||
void pruneSpent(const uint256& hash, CCoins &coins);
|
||||
unsigned int GetTransactionsUpdated() const;
|
||||
|
|
Loading…
Reference in New Issue