External signer support: hide all related UI when compiled out #672

Open
opened 2026-05-06 08:56:30 +00:00 by johnny9 · 0 comments
johnny9 commented 2026-05-06 08:56:30 +00:00 (Migrated from github.com)

Gap

QML needs to distinguish external signer support being compiled out from HWI being unconfigured or no device being detected. Installing or configuring HWI cannot enable support that is absent from the build.

Work

Expose a QML-visible build capability for external signer support and use it to hide all external signer UI when ENABLE_EXTERNAL_SIGNER=OFF.

This includes the External signer option in Add Wallet, HWI setup steps and guidance, signer path settings and device checks, and device-specific approval and receive-address verification actions. Unsupported builds should not show disabled signer options, installation guidance, or no-device messages.

When support is compiled in, keep External signer selectable in Add Wallet even when HWI is unconfigured. In that case, begin with HWI setup inside wallet creation, as specified in #671.

Acceptance Criteria

  • A build with ENABLE_EXTERNAL_SIGNER=OFF exposes no external signer options, settings, setup steps, device checks, or device-specific actions.
  • A stale saved signer path does not make external signer UI visible in an unsupported build.
  • A build with support enabled and no configured HWI path offers the setup flow from #671.
  • A build with support enabled and HWI configured retains device detection and supported wallet actions.
  • Cover both build capability states and confirm that ordinary wallet creation and generic watch-only/PSBT flows remain available.

Code References

  • qml/components/WalletSettings.qml
  • bitcoin/src/node/interfaces.cpp
  • bitcoin/src/qt/createwalletdialog.cpp
  • bitcoin/src/qt/optionsdialog.cpp
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/130 --> ## Gap QML needs to distinguish external signer support being compiled out from HWI being unconfigured or no device being detected. Installing or configuring HWI cannot enable support that is absent from the build. ## Work Expose a QML-visible build capability for external signer support and use it to hide all external signer UI when `ENABLE_EXTERNAL_SIGNER=OFF`. This includes the External signer option in Add Wallet, HWI setup steps and guidance, signer path settings and device checks, and device-specific approval and receive-address verification actions. Unsupported builds should not show disabled signer options, installation guidance, or no-device messages. When support is compiled in, keep External signer selectable in Add Wallet even when HWI is unconfigured. In that case, begin with HWI setup inside wallet creation, as specified in #671. ## Acceptance Criteria - A build with `ENABLE_EXTERNAL_SIGNER=OFF` exposes no external signer options, settings, setup steps, device checks, or device-specific actions. - A stale saved signer path does not make external signer UI visible in an unsupported build. - A build with support enabled and no configured HWI path offers the setup flow from #671. - A build with support enabled and HWI configured retains device detection and supported wallet actions. - Cover both build capability states and confirm that ordinary wallet creation and generic watch-only/PSBT flows remain available. ## Code References - `qml/components/WalletSettings.qml` - `bitcoin/src/node/interfaces.cpp` - `bitcoin/src/qt/createwalletdialog.cpp` - `bitcoin/src/qt/optionsdialog.cpp`
Sign in to join this conversation.
No description provided.