achow101
commented at 4:45 PM on June 17, 2020:
member
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.
Add Create*WalletDatabase functions
These functions doing the same things as WalletDatabase::Create,
CreateMock, and CreateDummy
DrahtBot
commented at 11:13 PM on June 17, 2020:
contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
#19216 (wallet: Remove first parameter to ScanForWalletTransactions start_hash by pstratem)
#19137 (wallettool: Add dump and createfromdump commands by achow101)
#19102 (wallet: Introduce and use DummyDatabase instead of dummy BerkeleyDatabase by achow101)
#19099 (refactor: Move wallet methods out of chain.h and node.h by ryanofsky)
#19098 (test: Remove duplicate NodeContext hacks by ryanofsky)
#19077 (wallet: Add sqlite as an alternative wallet database and use it for new descriptor wallets by achow101)
#18971 (wallet: Refactor the classes in wallet/db.{cpp/h} by achow101)
#18354 (Use shared pointers only in validation interface by bvbfan)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:53 UTC