Skip to content
Bitcoin Roots

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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/rpcconsole.h CHANGED
@@ -105,6 +105,8 @@ private Q_SLOTS:
105
  void clearSelectedNode();
106
  /** show detailed information on ui about selected node */
107
  void updateDetailWidget();
 
 
108
 
109
  public Q_SLOTS:
110
  void clear(bool keep_prompt = false);
 
105
  void clearSelectedNode();
106
  /** show detailed information on ui about selected node */
107
  void updateDetailWidget();
108
+ /** clear optional peer state details when they are unavailable */
109
+ void resetPeerStateStats();
110
 
111
  public Q_SLOTS:
112
  void clear(bool keep_prompt = false);