mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
p2p: add assertions and negative TS annotations for m_addr_local_mutex
This commit is contained in:
@@ -618,9 +618,9 @@ public:
|
||||
return m_greatest_common_version;
|
||||
}
|
||||
|
||||
CService GetAddrLocal() const;
|
||||
CService GetAddrLocal() const LOCKS_EXCLUDED(m_addr_local_mutex);
|
||||
//! May not be called more than once
|
||||
void SetAddrLocal(const CService& addrLocalIn);
|
||||
void SetAddrLocal(const CService& addrLocalIn) LOCKS_EXCLUDED(m_addr_local_mutex);
|
||||
|
||||
CNode* AddRef()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user