diff options
author | Andrew Chow <github@achow101.com> | 2023-01-05 12:12:16 -0500 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2023-01-05 12:22:51 -0500 |
commit | b4fb0a3255d39d7acf334d09b675885462e31c60 (patch) | |
tree | 9a4d823d6d3960523b5168cdfc2e23313f7ca864 /src/init.cpp | |
parent | 3212d104f4ac733660e7db9936fdc8fb7de4edb7 (diff) | |
parent | 730e14a317ae45fe871c8d6f44a51936756bbbea (diff) |
Merge bitcoin/bitcoin#26761: wallet: fully migrate address book entries for watchonly/solvable wallets
730e14a317ae45fe871c8d6f44a51936756bbbea test: wallet: check that labels are migrated to watchonly wallet (Sebastian Falbesoner)
d5f4ae7fac0bceb0c9ad939b9a4fbdb85da0bf95 wallet: fully migrate address book entries for watchonly/solvable wallets (Sebastian Falbesoner)
Pull request description:
Currently `migratewallet` migrates the address book (i.e. labels and purposes) for watchonly and solvable wallets only in RAM, but doesn't persist them on disk. Fix this by adding another loop for both of the special wallet types after which writes the corresponding NAME and PURPOSE entries to the database in a single batch. Also adds a corresponding test that checks if labels were migrated correctly for a watchonly wallet.
ACKs for top commit:
achow101:
ACK 730e14a317ae45fe871c8d6f44a51936756bbbea
furszy:
code ACK 730e14a3, left a non-blocking nit.
aureleoules:
ACK 730e14a317ae45fe871c8d6f44a51936756bbbea
Tree-SHA512: 159487e11e858924ef762e0190ccaea185bdff239e3d2280c8d63c4ac2649ec71714dc4d53dec644f03488f91c3b4bbbbf3434dad23bc0fcecb6657f353ea766
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions