mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-22 13:40:16 +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:
@@ -187,7 +187,7 @@ static RPCHelpMan getpeerinfo()
|
||||
if (!(stats.addrLocal.empty())) {
|
||||
obj.pushKV("addrlocal", stats.addrLocal);
|
||||
}
|
||||
obj.pushKV("network", stats.m_network);
|
||||
obj.pushKV("network", GetNetworkName(stats.m_network));
|
||||
if (stats.m_mapped_as != 0) {
|
||||
obj.pushKV("mapped_as", uint64_t(stats.m_mapped_as));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user