aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-08-21 15:17:42 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-09-29 00:42:06 +0200
commit30bc8fab6833e0447ceadd3fff1566a680e33a98 (patch)
tree0b76b997f26531545afd1fa6bd006b8339d92775 /src/net.cpp
parent655937ebcbf681ededf86b1f0f60aac45c73393d (diff)
downloadbitcoin-30bc8fab6833e0447ceadd3fff1566a680e33a98.tar.xz
net: save high-bandwidth mode states in CNodeStats
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 5b533d7d17..2c41b314ff 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -563,6 +563,8 @@ void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap)
}
stats.fInbound = IsInboundConn();
stats.m_manual_connection = IsManualConn();
+ X(m_bip152_highbandwidth_to);
+ X(m_bip152_highbandwidth_from);
X(nStartingHeight);
{
LOCK(cs_vSend);