aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-24 19:54:13 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-08-26 10:27:52 +0200
commitfa786570a5fdf6723b35883054f9f840a3440f92 (patch)
tree3797ea254a766dbf9ff8d6d9ae221c20da9eee1f /src/net.h
parentfa82f4ea96749115311cffa0919d49d383c4d28b (diff)
Remove unused RecursiveMutex cs_addrName
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net.h b/src/net.h
index ee8c1119e7..0a1686da8c 100644
--- a/src/net.h
+++ b/src/net.h
@@ -430,6 +430,7 @@ public:
const CAddress addr;
// Bind address of our side of the connection
const CAddress addrBind;
+ const std::string m_addr_name;
//! Whether this peer is an inbound onion, i.e. connected via our Tor onion service.
const bool m_inbound_onion;
std::atomic<int> nVersion{0};
@@ -691,10 +692,7 @@ private:
//! service advertisements.
const ServiceFlags nLocalServices;
- std::list<CNetMessage> vRecvMsg; // Used only by SocketHandler thread
-
- mutable RecursiveMutex cs_addrName;
- std::string addrName GUARDED_BY(cs_addrName);
+ std::list<CNetMessage> vRecvMsg; // Used only by SocketHandler thread
// Our address, as reported by the peer
CService addrLocal GUARDED_BY(cs_addrLocal);