More precise terminology: "lock free" -> "unlocked"

This commit is contained in:
Daira Hopwood 2021-08-05 14:19:51 +01:00 committed by GitHub
parent ad8abd68a1
commit 465c2492e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;