Wallet password settings: add async progress and duplicate-submit protection #627

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

Code Gap

The wallet settings page can encrypt a wallet or change an existing wallet passphrase, but those operations are called synchronously from the QML action path. The page also lacks a busy state, so repeated submits and long-running wallet operations are not handled as release-level flows.

Work Needed

  • Move encrypt-wallet and change-passphrase work to the wallet controller worker path or another non-blocking path.
  • Add a busy/progress state to the password settings page.
  • Disable duplicate submissions while a password operation is in progress.
  • Preserve clear success and failure states after completion.
  • Refresh encrypted/locked wallet state after successful operations.
  • Add coverage for encrypt success, encrypt failure, change-passphrase success, wrong current password, and duplicate submit.
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/85 --> ## Code Gap The wallet settings page can encrypt a wallet or change an existing wallet passphrase, but those operations are called synchronously from the QML action path. The page also lacks a busy state, so repeated submits and long-running wallet operations are not handled as release-level flows. ## Work Needed - Move encrypt-wallet and change-passphrase work to the wallet controller worker path or another non-blocking path. - Add a busy/progress state to the password settings page. - Disable duplicate submissions while a password operation is in progress. - Preserve clear success and failure states after completion. - Refresh encrypted/locked wallet state after successful operations. - Add coverage for encrypt success, encrypt failure, change-passphrase success, wrong current password, and duplicate submit.
Sign in to join this conversation.
No description provided.