bitcoinknots/bitcoin

GUI/Console: A way to clear command history

Closed

#204 opened on Oct 2, 2025

 (1 comment) (0 reactions) (0 assignees)C++ (160 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (677 stars)
PR merge metrics
 (PR metrics pending)

Description

Suggestion:

  1. Type /clearhistory
  2. GUI prompt warning it is irreversible but not guaranteed to be irrecoverable, and that it will also clear the output.
  3. Overwrite saved history with dummy data (abstract code in RPCConsole::RPCConsole? be careful not to newly store lengths of unsaved commands!)
  4. history.clear() and overwrite saved history again
  5. Clear output too

Contributor guide