mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Merge #162: Add network to peers window and peer details
e262a19b0bgui: display network in peer details (Jon Atack)9136953073gui: rename peer tab column headers, initialize in .h (Hennadii Stepanov)05c08c696agui: add network column in peers tab/window (Jon Atack)e0e55060bfgui: fix broken doxygen formatting in src/qt/guiutil.h (Jon Atack)0d5613f9degui: create GUIUtil::NetworkToQString() utility function (Jon Atack)af9103cc79net, rpc: change CNodeStats::m_network from string to Network (Jon Atack) Pull request description: and rename peers window column headers from NodeId and Node/Service to Peer Id and Address.  ACKs for top commit: laanwj: ACKe262a19b0bTree-SHA512: 709c2a805c109c2dd033aca7b6b6dc94ebe2ce7a0168c71249e1e661c9c57d1f1c781a5b9ccf3b776bedeb83ae2fb5c505637337c45b1eb9a418cb1693a89761
This commit is contained in:
@@ -566,7 +566,7 @@ void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap)
|
||||
X(nServices);
|
||||
X(addr);
|
||||
X(addrBind);
|
||||
stats.m_network = GetNetworkName(ConnectedThroughNetwork());
|
||||
stats.m_network = ConnectedThroughNetwork();
|
||||
stats.m_mapped_as = addr.GetMappedAS(m_asmap);
|
||||
if (m_tx_relay != nullptr) {
|
||||
LOCK(m_tx_relay->cs_filter);
|
||||
|
||||
Reference in New Issue
Block a user