In one dialog choose:
Wallet Name [ Wallet [share_identifier] ]
Disable private keys for this wallet. Wallets with private keys disabled will have no private keys and cannot have an HD seed or imported private keys. This is ideal for watch-only wallets.
Prepends /tmp/
to Wallet Name causing it to be stored in tmpfs not ~/Persistent/.bitcoin and lost on shutdown.
If /tmp/
is used
- Display warning their wallet will be amnesic and all its labels and unused addresses will be forgotten on shutdown. Suggest making a Persistent watch-only wallet first if that is undesired. Describe it as ideal for offline signing wallets because the private keys will never be saved to the USB stick. Provide opportunity to go back.
If the user does not Disable Private Keys display:
- wallet encryption info
- wallet encryption warning
- wallet has been encrypted
else:
- watch-only wallets info. Provide Opportunity to go back
- how to spend from this watch-only wallet Provide opportunity to go back.
After the warnings/info is displayed:
- Current wallet setup complete! dialog and bitcoin-qt opens
Helps address #45 and #34 as "setup complete" is really "wallet setup complete" and the other dialogs are from install-core
and don't need to display when just doing bails-wallet
operations. Also creates one of the L2 features and gives a more secure set-up.
Watch only wallets can be spent by gathering the shares with their corresponding identifiers and loading them into an offline signing device or Non-persistent Wallet to sign PSBTs on the same USB. Forgetting the keys makes the user safe from rubber hose cryptanalysis.
These steps are all in series. As soon as the user confirms what they will be using or procedes with the default encrypted private keys enabled wallet. bitcoind begins importing the appropriate descriptors and will shutdown and start bitcoin-qt when it finishes.
If the user reaches the end of the information dialogs without bitcoin-qt having started. It will tell them importing descriptors can take some time and reminds them to lock the screen Super+L if they need to step away from their computer.
Alternately, bitcoin-qt could be started right after the user makes a selection so that visual progress bars can be displayed for rescanning. This is preferable since no more RAM heavy hashing needs to be done.