diff options
author | Jon Atack <jon@atack.com> | 2021-01-30 22:09:40 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-02-18 11:11:40 +0100 |
commit | 9476886353dffb730dcb75799f2bd5e143425795 (patch) | |
tree | 4d65e4a2f6c19c5f309d10faf9285a7d061581a9 /src/qt/rpcconsole.cpp | |
parent | 6c6140846f37de8c132b3b6abf09f3d7940554a7 (diff) | |
download | bitcoin-9476886353dffb730dcb75799f2bd5e143425795.tar.xz |
gui: display fRelayTxes in peer details
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r-- | src/qt/rpcconsole.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 2758ee351a..52ebfb16b7 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1109,6 +1109,7 @@ void RPCConsole::updateDetailWidget() peerAddrDetails += "<br />" + 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"); 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)); |