mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-25 13:28:35 +01:00
da7a83c5eeRemove WalletDatabase::Create, CreateMock, and CreateDummy (Andrew Chow)d6045d0ac6scripted-diff: Replace WalletDatabase::Create* with CreateWalletDatabase (Andrew Chow)45c08f8a7bAdd Create*WalletDatabase functions (Andrew Chow) Pull request description: Instead of having `Create`, `CreateMock`, and `CreateDummy` being static functions in `BerkeleyDatabase`, move these to standalone functions in `walletdb.cpp`. This prepares us for having different `WalletDatabase` classes. Part of #18971. This was originally one commit but has been split into 3 to make it (hopefully) easier to review. ACKs for top commit: MarcoFalke: ACKda7a83c5ee🎂 ryanofsky: Code review ACKda7a83c5ee. Easy review, nice scripted-diff Tree-SHA512: 1feb7cb3889168c555154bf3701a49095fd6b8cab911d44b7f7efbf6fcee2280ccb3d4afec8a83755b39a592ecd13b90a318faa655c321f87bdabdf1e2312327