diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui
index 3acfe7eb652..9e828ce0a6f 100644
--- a/src/qt/forms/debugwindow.ui
+++ b/src/qt/forms/debugwindow.ui
@@ -1198,14 +1198,17 @@
-
-
+
+
+ Whether the peer requested us to relay transactions.
+
- Starting Block
+ Wants Tx Relay
-
-
+
IBeamCursor
@@ -1221,14 +1224,17 @@
-
-
+
+
+ High bandwidth BIP152 compact block relay: %1
+
- Synced Headers
+ High Bandwidth
-
-
+
IBeamCursor
@@ -1244,14 +1250,14 @@
-
-
+
- Synced Blocks
+ Starting Block
-
-
+
IBeamCursor
@@ -1267,14 +1273,14 @@
-
-
+
- Connection Time
+ Synced Headers
-
-
+
IBeamCursor
@@ -1290,14 +1296,14 @@
-
-
+
- Last Send
+ Synced Blocks
-
-
+
IBeamCursor
@@ -1313,14 +1319,14 @@
-
-
+
- Last Receive
+ Connection Time
-
-
+
IBeamCursor
@@ -1336,14 +1342,14 @@
-
-
+
- Sent
+ Last Send
-
-
+
IBeamCursor
@@ -1359,14 +1365,14 @@
-
-
+
- Received
+ Last Receive
-
-
+
IBeamCursor
@@ -1382,14 +1388,14 @@
-
-
+
- Ping Time
+ Sent
-
-
+
IBeamCursor
@@ -1405,17 +1411,14 @@
-
-
-
- The duration of a currently outstanding ping.
-
+
- Ping Wait
+ Received
-
-
+
IBeamCursor
@@ -1431,14 +1434,14 @@
-
-
+
- Min Ping
+ Ping Time
-
-
+
IBeamCursor
@@ -1454,14 +1457,17 @@
-
-
+
+
+ The duration of a currently outstanding ping.
+
- Time Offset
+ Ping Wait
-
-
+
IBeamCursor
@@ -1477,17 +1483,14 @@
-
-
-
- The mapped Autonomous System used for diversifying peer selection.
-
+
- Mapped AS
+ Min Ping
-
-
+
IBeamCursor
@@ -1503,6 +1506,55 @@
-
+
+
+ Time Offset
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ The mapped Autonomous System used for diversifying peer selection.
+
+
+ Mapped AS
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
Qt::Vertical
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 7c8de962c62..4a4b557acc9 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -473,6 +473,11 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
tr("Outbound Address Fetch: short-lived, for soliciting addresses")};
const QString list{"
- " + Join(CONNECTION_TYPE_DOC, QString("
- ")) + "
"};
ui->peerConnectionTypeLabel->setToolTip(ui->peerConnectionTypeLabel->toolTip().arg(list));
+ const QString hb_list{"- \""
+ + tr("To") + "\" – " + tr("we selected the peer for high bandwidth relay") + "
- \""
+ + tr("From") + "\" – " + tr("the peer selected us for high bandwidth relay") + "
- \""
+ + tr("No") + "\" – " + tr("no high bandwidth relay selected") + "
"};
+ ui->peerHighBandwidthLabel->setToolTip(ui->peerHighBandwidthLabel->toolTip().arg(hb_list));
ui->dataDir->setToolTip(ui->dataDir->toolTip().arg(QString(nonbreaking_hyphen) + "datadir"));
ui->blocksDir->setToolTip(ui->blocksDir->toolTip().arg(QString(nonbreaking_hyphen) + "blocksdir"));
ui->openDebugLogfileButton->setToolTip(ui->openDebugLogfileButton->toolTip().arg(PACKAGE_NAME));
@@ -1109,6 +1114,12 @@ void RPCConsole::updateDetailWidget()
peerAddrDetails += "
" + tr("via %1").arg(QString::fromStdString(stats->nodeStats.addrLocal));
ui->peerHeading->setText(peerAddrDetails);
ui->peerServices->setText(GUIUtil::formatServicesStr(stats->nodeStats.nServices));
+ ui->peerRelayTxes->setText(stats->nodeStats.fRelayTxes ? "Yes" : "No");
+ QString bip152_hb_settings;
+ if (stats->nodeStats.m_bip152_highbandwidth_to) bip152_hb_settings += "To";
+ if (stats->nodeStats.m_bip152_highbandwidth_from) bip152_hb_settings += (bip152_hb_settings == "" ? "From" : "/From");
+ if (bip152_hb_settings == "") bip152_hb_settings = "No";
+ ui->peerHighBandwidth->setText(bip152_hb_settings);
ui->peerLastSend->setText(stats->nodeStats.nLastSend ? GUIUtil::formatDurationStr(GetSystemTimeInSeconds() - stats->nodeStats.nLastSend) : tr("never"));
ui->peerLastRecv->setText(stats->nodeStats.nLastRecv ? GUIUtil::formatDurationStr(GetSystemTimeInSeconds() - stats->nodeStats.nLastRecv) : tr("never"));
ui->peerBytesSent->setText(GUIUtil::formatBytes(stats->nodeStats.nSendBytes));