aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJon Atack <[email protected]>2020-09-23 10:23:44 +0200
committerJon Atack <[email protected]>2020-10-14 14:55:55 +0200
commit6df7882029854f0427d84b22081018ae77e27e66 (patch)
tree0d4b6ecedae58e3a28b8768817a544808f841e51 /src/net.h
parentMerge #19998: net: Add CNode::ConnectedThroughNetwork member function (diff)
downloaddiscoin-6df7882029854f0427d84b22081018ae77e27e66.tar.xz
discoin-6df7882029854f0427d84b22081018ae77e27e66.zip
net: add peer network to CNodeStats
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 7c6351639..eec48a7e9 100644
--- a/src/net.h
+++ b/src/net.h
@@ -706,6 +706,8 @@ public:
CAddress addr;
// Bind address of our side of the connection
CAddress addrBind;
+ // Name of the network the peer connected through
+ std::string m_network;
uint32_t m_mapped_as;
std::string m_conn_type_string;
};