Skip to content

Commit 19623d3

Browse files
committed
gui: add "Addresses Processed" (m_addr_processed) to peer details
1 parent a465a66 commit 19623d3

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

src/qt/forms/debugwindow.ui

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,6 +1618,32 @@
16181618
</widget>
16191619
</item>
16201620
<item row="24" column="0">
1621+
<widget class="QLabel" name="peerAddrProcessedLabel">
1622+
<property name="toolTip">
1623+
<string extracomment="Tooltip text for the Addresses Processed field in the peer details area.">Total number of addresses processed, excluding those dropped due to rate-limiting.</string>
1624+
</property>
1625+
<property name="text">
1626+
<string>Addresses Processed</string>
1627+
</property>
1628+
</widget>
1629+
</item>
1630+
<item row="24" column="1">
1631+
<widget class="QLabel" name="peerAddrProcessed">
1632+
<property name="cursor">
1633+
<cursorShape>IBeamCursor</cursorShape>
1634+
</property>
1635+
<property name="text">
1636+
<string>N/A</string>
1637+
</property>
1638+
<property name="textFormat">
1639+
<enum>Qt::PlainText</enum>
1640+
</property>
1641+
<property name="textInteractionFlags">
1642+
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
1643+
</property>
1644+
</widget>
1645+
</item>
1646+
<item row="25" column="0">
16211647
<spacer name="verticalSpacer_3">
16221648
<property name="orientation">
16231649
<enum>Qt::Vertical</enum>

src/qt/rpcconsole.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,7 @@ void RPCConsole::updateDetailWidget()
12161216
ui->peerHeight->setText(QString::number(stats->nodeStateStats.m_starting_height));
12171217
ui->peerPingWait->setText(GUIUtil::formatPingTime(stats->nodeStateStats.m_ping_wait));
12181218
ui->peerAddrRelayEnabled->setText(stats->nodeStateStats.m_addr_relay_enabled ? ts.yes : ts.no);
1219+
ui->peerAddrProcessed->setText(QString::number(stats->nodeStateStats.m_addr_processed));
12191220
}
12201221

12211222
ui->peersTabRightPanel->show();

0 commit comments

Comments
 (0)