Skip to content

Conversation

@achow101
Copy link
Member

@achow101 achow101 commented May 13, 2025

Allows a user to export a watchonly version of their wallet to be used in an airgapped setup.

Built on bitcoin/bitcoin#32489

@achow101 achow101 force-pushed the export-watchonly-wallet-gui branch 2 times, most recently from da9365f to fe863d1 Compare May 20, 2025 00:56
@hebasto hebasto changed the title gui: Menu action to export a watchonly wallet Menu action to export a watchonly wallet May 20, 2025
@achow101 achow101 force-pushed the export-watchonly-wallet-gui branch from fe863d1 to 6b252fe Compare May 21, 2025 17:54
@achow101 achow101 force-pushed the export-watchonly-wallet-gui branch 2 times, most recently from 160ee16 to 7f318f0 Compare June 4, 2025 23:56
achow101 and others added 9 commits August 20, 2025 14:37
CanSelfExpand() reports whether a descriptor can be expanded without
needing any caches or private keys to be provided by the caller of
Expand().
If a descriptor does not need any caches or private keys in order to
expand, then CanGetAddresses() should return true for that descriptor.
If a new WalletDescriptor is provided to us with a cache, write the
cache to disk as well.
When listdescriptors retrieves the descriptors from the wallet, instead
of having this logic in the RPC, move it into CWallet itself. This
will enable other functions to get the descriptors in an exportable
form.
ExportWatchOnly produces a watchonly wallet file from a CWallet. This
can be restored onto another instance of Bitcoin Core to allow that
instance to watch the same descriptors, and also have all of the same
initial address book and transactions.
@achow101 achow101 force-pushed the export-watchonly-wallet-gui branch from 7f318f0 to 22f3717 Compare September 11, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants