mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Add compile time checking for all ::mempool.cs runtime locking assertions
This commit is contained in:
@@ -383,7 +383,7 @@ static std::string EntryDescriptionString()
|
||||
" ... ]\n";
|
||||
}
|
||||
|
||||
static void entryToJSON(UniValue &info, const CTxMemPoolEntry &e)
|
||||
static void entryToJSON(UniValue &info, const CTxMemPoolEntry &e) EXCLUSIVE_LOCKS_REQUIRED(::mempool.cs)
|
||||
{
|
||||
AssertLockHeld(mempool.cs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user