One of my wallets got corrupted for some reason and Bitcoin Core version v0.21.1 (on MacOS) fails to start, suggesting I use the salvage wallet method.
I've been searching online to see what that means, and most info suggests I start the Bitcoin Core app from the terminal, using the -salvagewallet option. However, this gives me an invalid argument error and the app still fails to start.
Later I've read that the salvage wallet was moved to the bitcoin-wallet tool. I'm assuming that's referring to the Console and it assumes I can start the application. To do that, I've moved the corrupt wallet folder outside the app, so I can start it, at least. I've then tried to import the corrupt wallet, but this also fails.
I have 2 questions:
Is there an updated method of salvaging the corrupted wallet?
If not, or the salvaging fails, does a much older version of the wallet help? This older version will, for sure, not include most (if any) of the new addresses that had money on them, but maybe Bitcoin Core has a way of deterministically finding those addresses from its seed when reindexing? (if that makes any sense)
Thanks!