From 465c2492e70567fe799dc160ed18faa4b1569457 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 5 Aug 2021 14:19:51 +0100 Subject: [PATCH] More precise terminology: "lock free" -> "unlocked" --- src/txmempool.cpp | 2 +- src/txmempool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 7208e7b11..a90585911 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -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 diff --git a/src/txmempool.h b/src/txmempool.h index b5e10ccd7..8c3d396b1 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -210,7 +210,7 @@ public: std::list& conflicts, bool fCurrentEstimate = true); void removeWithoutBranchId(uint32_t nMemPoolBranchId); void clear(); - void _clear(); //lock free + void _clear(); // unlocked void queryHashes(std::vector& vtxid); void pruneSpent(const uint256& hash, CCoins &coins); unsigned int GetTransactionsUpdated() const;