External signer wallet creation: preserve usable signer wallet names #674

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

Gap

QML sanitizes the signer name, truncates it to 20 characters, and only accepts [a-zA-Z0-9_]. Qt uses the signer display name directly and only requires a non-empty wallet name.

Work

Relax external signer wallet name handling to match the app's wallet-name rules, avoid unnecessary truncation, and preserve common signer labels with spaces or hyphens when they are valid wallet names.

Code References

  • qml/walletqmlcontroller.cpp:1065
  • qml/pages/wallet/CreateExternalWallet.qml:87
  • bitcoin/src/qt/createwalletdialog.cpp:113
  • bitcoin/src/qt/createwalletdialog.cpp:24
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/132 --> ## Gap QML sanitizes the signer name, truncates it to 20 characters, and only accepts `[a-zA-Z0-9_]`. Qt uses the signer display name directly and only requires a non-empty wallet name. ## Work Relax external signer wallet name handling to match the app's wallet-name rules, avoid unnecessary truncation, and preserve common signer labels with spaces or hyphens when they are valid wallet names. ## Code References - `qml/walletqmlcontroller.cpp:1065` - `qml/pages/wallet/CreateExternalWallet.qml:87` - `bitcoin/src/qt/createwalletdialog.cpp:113` - `bitcoin/src/qt/createwalletdialog.cpp:24`
Sign in to join this conversation.
No description provided.