qt: filter descriptor RPCs from console history #972

pull enessubass wants to merge 1 commits into bitcoin-core:master from enessubass:qt-filter-descriptor-rpcs changing 2 files +6 −0
  1. enessubass commented at 2:36 PM on November 24, 2026: none

    Follows up on #901 and #955.

    importdescriptors and descriptorprocesspsbt accept output descriptors that can contain BIP32 extended private keys (xprv) or WIF private keys, similar to addhdkey and signrawtransactionwithkey, but their arguments were still retained in the Qt RPC console command history.

    Add descriptorprocesspsbt and importdescriptors to historyFilter in src/qt/rpcconsole.cpp and cover both in src/qt/test/rpcnestedtests.cpp (RPCNestedTests::rpcNestedTests).

  2. DrahtBot commented at 2:37 PM on November 24, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

    LLM Linter (✨ experimental)

    Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):

    • src/qt/test/rpcnestedtests.cpp: RPCConsole::RPCParseCommandLine(nullptr, result, "descriptorprocesspsbt abc [\"def\"]", false, &filtered)

    <sup>2026-11-24 14:43:20</sup>

  3. qt: filter descriptor RPCs from console history
    importdescriptors and descriptorprocesspsbt accept output descriptors
    containing extended private keys or WIF private keys, similar to
    addhdkey and signrawtransactionwithkey, but their arguments were
    previously retained in RPC console history.
    
    Add both commands to historyFilter and cover them in rpcnestedtests.
    f5b7b11362
  4. enessubass force-pushed on Nov 24, 2026

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: 2026-12-06 01:20 UTC

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