mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
0cdd817a82add release note (Pol Espinasa)517d37ce3etest: tests wallet migration with load_wallet disabled (Pol Espinasa)b98dd63da7rpc: Add load_wallet argument to migratewallet RPC (Pol Espinasa)4acd063ba6wallet: make loading the wallet after migrating optional (Pol Espinasa)97d08d62barefactor: store wallet names to MigrationResult (Pol Espinasa) Pull request description: This PR is motivated by this [Stack Exchange question](https://bitcoin.stackexchange.com/questions/130713/bitcoin-core-quickest-method-legacy-descriptor-wallet-migration). Long story short, someone who has a node pruned before his legacy wallet birthday, is unable to migrate the wallet as it is not possible to load it. Loading is not necessary for migration, and migrating without wanting to use the wallet in that node is a valid use-case. This PR adds a new RPC argument to `migratewallet` that allow the user disabling the wallet loading. Second commits adds tests for it. Follow-up: Add an option to the GUI to not load the wallet after migrating. ACKs for top commit: achow101: ACK0cdd817a82w0xlt: ACK0cdd817a82pablomartin4btc: ACK0cdd817a82Tree-SHA512: 8389599e63603b1a532e1bfba0b6c652653386c001f5a881bd49843302b74ff4dbaa4131b5b377c24f483d42e0e70a92b96f760244e3c2e2b44ce08cd04ca1e0