mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
refactor: replace RecursiveMutex g_maplocalhost_mutex with Mutex
This commit is contained in:
@@ -112,7 +112,7 @@ static const uint64_t RANDOMIZER_ID_ADDRCACHE = 0x1cf2e4ddd306dda9ULL; // SHA256
|
||||
//
|
||||
bool fDiscover = true;
|
||||
bool fListen = true;
|
||||
RecursiveMutex g_maplocalhost_mutex;
|
||||
Mutex g_maplocalhost_mutex;
|
||||
std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY(g_maplocalhost_mutex);
|
||||
static bool vfLimited[NET_MAX] GUARDED_BY(g_maplocalhost_mutex) = {};
|
||||
std::string strSubVersion;
|
||||
|
||||
Reference in New Issue
Block a user