No way to clear command history in RPC console or reset the console without restarting the node #897

issue waketraindev openend this issue on September 25, 2025
  1. waketraindev commented at 7:37 am on September 25, 2025: none
    • I still think this issue should be opened here

    Report

    No way to clear the command history of a RPC console. With the history remaining until client reset.

    Please add a way to either clear the command history or fully reset the console.

    Thanks in advance

  2. achow101 commented at 5:08 pm on September 25, 2025: member
    There’s already a clear history button in the top right corner of the console window, next to the font size buttons. It works fine for me.
  3. waketraindev commented at 5:11 pm on September 25, 2025: none

    There’s already a clear history button in the top right corner of the console window, next to the font size buttons. It works fine for me.

    Hello and thank you for the reply. I’m actually talking about the command input history in RPC console, the one in the input box where you use the arrow keys to browse and not the output/results/scrollback window that actually gets cleared.

    The output gets cleared and the input remains regardless if you close wallet, RPC console. It only resets by restarting the node

    Hope that clears it

  4. waketraindev commented at 5:32 pm on September 25, 2025: none
  5. Geremia commented at 0:23 am on October 2, 2025: none
    Restarting bitcoin-qt doesn’t clear the command history for me.
  6. 1440000bytes commented at 7:43 pm on October 10, 2025: none

    The output gets cleared and the input remains regardless if you close wallet, RPC console. It only resets by restarting the node

    This is a bug and core does not clear the history for migratewallet RPC from the console.

    0// don't add private key handling cmd's to the history
    1const QStringList historyFilter = QStringList()
    2    << "signmessagewithprivkey"
    3    << "signrawtransactionwithkey"
    4    << "walletpassphrase"
    5    << "walletpassphrasechange"
    6    << "encryptwallet";
    7
    8
    9}
    

    https://github.com/bitcoin-core/gui/blob/master/src/qt/rpcconsole.cpp#L73C1-L81C2

  7. 1440000bytes commented at 9:23 pm on October 10, 2025: none

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-10-18 14:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me