This is another wallet/walletdb refactoring a.k.a. layer violation cleanup.
This is a stepping stone for...
- wallet manipulation tool (compile walletdb without main, etc.) (something like #8745)
- wallet database abstraction (use a different wallet backend [liblogdb, sqlite] in parallel to bdb) (something like #5686)
Together with #9143, this makes CWalletDB independent from CWallet (main goal of the current refactoring).
What is does...
- Removes the CDB::Verify callback (can be executed independently)
CWalletDB::LoadWalletandCWalletDB::Recoverwill map and/or check for records over a callback thus allow a flexible layer setup.