diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui
index 3acfe7eb65..9e828ce0a6 100644
--- a/src/qt/forms/debugwindow.ui
+++ b/src/qt/forms/debugwindow.ui
@@ -1198,13 +1198,65 @@
-
+
+
+ Whether the peer requested us to relay transactions.
+
+
+ Wants Tx Relay
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ High bandwidth BIP152 compact block relay: %1
+
+
+ High Bandwidth
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
Starting Block
- -
+
-
IBeamCursor
@@ -1220,14 +1272,14 @@
- -
+
-
Synced Headers
- -
+
-
IBeamCursor
@@ -1243,14 +1295,14 @@
- -
+
-
Synced Blocks
- -
+
-
IBeamCursor
@@ -1266,14 +1318,14 @@
- -
+
-
Connection Time
- -
+
-
IBeamCursor
@@ -1289,14 +1341,14 @@
- -
+
-
Last Send
- -
+
-
IBeamCursor
@@ -1312,14 +1364,14 @@
- -
+
-
Last Receive
- -
+
-
IBeamCursor
@@ -1335,14 +1387,14 @@
- -
+
-
Sent
- -
+
-
IBeamCursor
@@ -1358,14 +1410,14 @@
- -
+
-
Received
- -
+
-
IBeamCursor
@@ -1381,14 +1433,14 @@
- -
+
-
Ping Time
- -
+
-
IBeamCursor
@@ -1404,7 +1456,7 @@
- -
+
-
The duration of a currently outstanding ping.
@@ -1414,7 +1466,7 @@
- -
+
-
IBeamCursor
@@ -1430,14 +1482,14 @@
- -
+
-
Min Ping
- -
+
-
IBeamCursor
@@ -1453,14 +1505,14 @@
- -
+
-
Time Offset
- -
+
-
IBeamCursor
@@ -1476,7 +1528,7 @@
- -
+
-
The mapped Autonomous System used for diversifying peer selection.
@@ -1486,7 +1538,7 @@
- -
+
-
IBeamCursor
@@ -1502,7 +1554,7 @@
- -
+
-
Qt::Vertical
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 7c8de962c6..4a4b557acc 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));