v29.4-roots.3 · Commit 15: [PATCH 15/30] 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 894ecb1fdf541c92761c44a1b45d3dce4e99a5a3..f77300fdcd0d10f0513dce4c09c21efd397bf4ff 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. The two line-number columns refer to before and after.
src/qt/rpcconsole.h
CHANGED
|
@@ -105,6 +105,8 @@ private Q_SLOTS:
|
|
|
105
105
|
void clearSelectedNode();
|
|
106
106
|
/** show detailed information on ui about selected node */
|
|
107
107
|
void updateDetailWidget();
|
|
108
|
+
/** clear optional peer state details when they are unavailable */
|
|
109
|
+
void resetPeerStateStats();
|
|
108
110
|
|
|
109
111
|
public Q_SLOTS:
|
|
110
112
|
void clear(bool keep_prompt = false);
|