external signer: PSBT error code EXTERNAL_SIGNER_NOT_FOUND is never returned #32426

issue theStack openend this issue on May 6, 2025
  1. theStack commented at 1:25 pm on May 6, 2025: contributor

    The error code PSBTError::EXTERNAL_SIGNER_NOT_FOUND is never returned anywhere in our codebase, hence code that handles it (currently done only in the GUI) is effectively dead. I have never looked deeper into external signing, but at a first glance the two obvious logical choices would be to either:

    • simply get rid of this error code and its handling (if e.g. a more generic error thrown in this case already provides enough information to the user)
    • implement the returning of the error condition; the areas that need to be touched are likely ExternalSignerScriptPubKeyMan::GetExternalSigner and its call-site in ::FillPSBT below

    (Noticed while reviewing #31622, where new PSBTError codes are added in the third commit)


theStack


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-05-23 09:12 UTC

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