diff options
author | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-01-20 17:28:37 -0300 |
---|---|---|
committer | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-01-20 17:34:48 -0300 |
commit | 93609c1dfad70961697d0d12bf01cd34b8ceb6c8 (patch) | |
tree | b40da82b94689ad5089af8ddf365fd7347716596 /src/net.h | |
parent | c4a31ca267f74bff76a43878177d05d22825a203 (diff) |
p2p: add assertions and negative TS annotations for m_addr_local_mutex
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |