mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-01 16:31:33 +01:00
589ed1a8eawallet: migration, avoid loading wallet after failure when it wasn't loaded before (furszy) Pull request description: Fixes #31447. During migration failure, only load wallet back into memory when the wallet was loaded prior to migration. This fixes the case where BDB is not supported, which implies that no legacy wallet can be loaded into memory due to the lack of db writing functionality. Link to error description https://github.com/bitcoin/bitcoin/issues/31447#issuecomment-2528757140. This PR also improves migration backup related comments to better document the current workflow. ACKs for top commit: achow101: ACK589ed1a8earkrux: ACK589ed1a8eapablomartin4btc: tACK589ed1a8eaTree-SHA512: c7a489d2b253c574ee0287b691ebe29fe8d026f659f68a3f6108eca8b4e1e420c67ca7803c6bd70c1e1440791833fabca3afbcf8fe8524c6c9fc08de95b618d0
53 KiB
Executable File
53 KiB
Executable File