aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authordergoegge <n.goeggi@gmail.com>2023-03-14 17:25:26 +0100
committerdergoegge <n.goeggi@gmail.com>2023-03-22 13:18:57 +0100
commit3566aa7d495bb783bbd135726238d9f2a9e9f80e (patch)
tree36351adc7843a921a510f7aeedcf93b1e0e51d01 /src/net.h
parent3eac5e7cd1eda6ababb9af9cd72dae08d395993d (diff)
downloadbitcoin-3566aa7d495bb783bbd135726238d9f2a9e9f80e.tar.xz
[net] Remove CNode friends
Both `CConnman` and `ConnmanTestMsg` no longer access private members of `CNode`, we can therefore remove the friend relationship.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index 67cae64ef6..7bb164003e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -347,9 +347,6 @@ struct CNodeOptions
/** Information about a peer */
class CNode
{
- friend class CConnman;
- friend struct ConnmanTestMsg;
-
public:
const std::unique_ptr<TransportDeserializer> m_deserializer; // Used only by SocketHandler thread
const std::unique_ptr<const TransportSerializer> m_serializer;