net: save high-bandwidth mode states in CNodeStats

This commit is contained in:
Sebastian Falbesoner
2020-08-21 15:17:42 +02:00
parent 655937ebcb
commit 30bc8fab68
3 changed files with 17 additions and 1 deletions

View File

@@ -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);