I have noticed that -salvagewallet
seems to be actually causing more issues than it actually fixes.
Below is a list of things I have found so far that are problematic:
- Default key is not passed through causing problems with encrypted wallets and
-usehd=1
(fixed in #10952) - Wallet version number is not preserved, so salvaged wallets become version 10500, which could have unexpected behavior with optional features such as HD and HD chain split
- salvaging seems to be skipping keys for some unknown reason. There is no given error, it just skips keys