diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index 5cdba643785..60e9bcde337 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -1111,6 +1111,32 @@ + + + The BIP324 session ID string in hex, if any. + + + Session ID + + + + + + + IBeamCursor + + + N/A + + + Qt::PlainText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + The network protocol this peer is connected through: IPv4, IPv6, Onion, I2P, or CJDNS. @@ -1120,7 +1146,7 @@ - + IBeamCursor @@ -1136,14 +1162,14 @@ - + Version - + IBeamCursor @@ -1159,14 +1185,14 @@ - + User Agent - + IBeamCursor @@ -1182,14 +1208,14 @@ - + Services - + IBeamCursor @@ -1208,7 +1234,7 @@ - + Whether we relay transactions to this peer. @@ -1218,7 +1244,7 @@ - + IBeamCursor @@ -1234,7 +1260,7 @@ - + High bandwidth BIP152 compact block relay: %1 @@ -1244,7 +1270,7 @@ - + IBeamCursor @@ -1260,14 +1286,14 @@ - + Starting Block - + IBeamCursor @@ -1283,14 +1309,14 @@ - + Synced Headers - + IBeamCursor @@ -1306,14 +1332,14 @@ - + Synced Blocks - + IBeamCursor @@ -1329,14 +1355,14 @@ - + Connection Time - + IBeamCursor @@ -1352,7 +1378,7 @@ - + Elapsed time since a novel block passing initial validity checks was received from this peer. @@ -1362,7 +1388,7 @@ - + IBeamCursor @@ -1378,7 +1404,7 @@ - + Elapsed time since a novel transaction accepted into our mempool was received from this peer. @@ -1388,7 +1414,7 @@ - + IBeamCursor @@ -1404,14 +1430,14 @@ - + Last Send - + IBeamCursor @@ -1427,14 +1453,14 @@ - + Last Receive - + IBeamCursor @@ -1450,14 +1476,14 @@ - + Sent - + IBeamCursor @@ -1473,14 +1499,14 @@ - + Received - + IBeamCursor @@ -1496,14 +1522,14 @@ - + Ping Time - + IBeamCursor @@ -1519,7 +1545,7 @@ - + The duration of a currently outstanding ping. @@ -1529,7 +1555,7 @@ - + IBeamCursor @@ -1545,14 +1571,14 @@ - + Min Ping - + IBeamCursor @@ -1568,14 +1594,14 @@ - + Time Offset - + IBeamCursor @@ -1591,7 +1617,7 @@ - + The mapped Autonomous System used for diversifying peer selection. @@ -1601,7 +1627,7 @@ - + IBeamCursor @@ -1617,7 +1643,7 @@ - + Whether we relay addresses to this peer. @@ -1627,7 +1653,7 @@ - + IBeamCursor @@ -1643,7 +1669,7 @@ - + The total number of addresses received from this peer that were processed (excludes addresses that were dropped due to rate-limiting). @@ -1653,7 +1679,7 @@ - + IBeamCursor @@ -1669,7 +1695,7 @@ - + The total number of addresses received from this peer that were dropped (not processed) due to rate-limiting. @@ -1679,7 +1705,7 @@ - + IBeamCursor @@ -1695,7 +1721,7 @@ - + Qt::Vertical diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 27d460f8e15..998a4e5cbe2 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1202,6 +1202,14 @@ void RPCConsole::updateDetailWidget() } ui->peerConnectionType->setText(GUIUtil::ConnectionTypeToQString(stats->nodeStats.m_conn_type, /*prepend_direction=*/true)); ui->peerTransportType->setText(QString::fromStdString(TransportTypeAsString(stats->nodeStats.m_transport_type))); + if (stats->nodeStats.m_transport_type == TransportProtocolType::V2) { + ui->peerSessionIdLabel->setVisible(true); + ui->peerSessionId->setVisible(true); + ui->peerSessionId->setText(QString::fromStdString(stats->nodeStats.m_session_id)); + } else { + ui->peerSessionIdLabel->setVisible(false); + ui->peerSessionId->setVisible(false); + } ui->peerNetwork->setText(GUIUtil::NetworkToQString(stats->nodeStats.m_network)); if (stats->nodeStats.m_permission_flags == NetPermissionFlags::None) { ui->peerPermissions->setText(ts.na);