v30.3-roots.1 · Commit 15: [PATCH 15/68] fix(qt): clear stale peer details on refresh
src/qt/rpcconsole.h
Before: src/qt/rpcconsole.h · After: src/qt/rpcconsole.h
File metadata
index fe2955cc26b3fd0658f4c01c12594d67339828c4..dcc079591d6c82a94642f74bab3e53660e988148 100644
Download original patch · Release notes
Diff rows 1–8 of 8. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/qt/rpcconsole.h
CHANGED
|
@@ -107,6 +107,8 @@ private Q_SLOTS:
|
|
| 107 |
void clearSelectedNode();
|
| 108 |
/** show detailed information on ui about selected node */
|
| 109 |
void updateDetailWidget();
|
|
|
|
|
|
|
| 110 |
|
| 111 |
public Q_SLOTS:
|
| 112 |
void clear(bool keep_prompt = false);
|
|
|
|
| 107 |
void clearSelectedNode();
|
| 108 |
/** show detailed information on ui about selected node */
|
| 109 |
void updateDetailWidget();
|
| 110 |
+
/** clear optional peer state details when they are unavailable */
|
| 111 |
+
void resetPeerStateStats();
|
| 112 |
|
| 113 |
public Q_SLOTS:
|
| 114 |
void clear(bool keep_prompt = false);
|