aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-01-20 22:46:23 +0100
committerJon Atack <jon@atack.com>2022-01-24 10:44:12 +0100
commita465a66ef209a241a4df1164d50cea97daaf4d99 (patch)
tree700b68aec5de928fc2a65232e438843d724e2b33 /src/qt/rpcconsole.cpp
parente3ce019667fba2ec50a59814a26566fb67fa9125 (diff)
downloadbitcoin-a465a66ef209a241a4df1164d50cea97daaf4d99.tar.xz
gui: add "Address Relay" (m_addr_relay_enabled) to peer details
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 1cadfaeeb9..81f0f472cf 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -1215,6 +1215,7 @@ void RPCConsole::updateDetailWidget()
}
ui->peerHeight->setText(QString::number(stats->nodeStateStats.m_starting_height));
ui->peerPingWait->setText(GUIUtil::formatPingTime(stats->nodeStateStats.m_ping_wait));
+ ui->peerAddrRelayEnabled->setText(stats->nodeStateStats.m_addr_relay_enabled ? ts.yes : ts.no);
}
ui->peersTabRightPanel->show();