walletdb: Introduce WalletDatabase abstract class

Make WalletDatabase actually an abstract class and not just a typedef
for BerkeleyDatabase. Have BerkeleyDatabase inherit this class.
This commit is contained in:
Andrew Chow committed 2020-07-14 11:07:16 -04:00
1 parent 2179dbcbcd
commit d416ae560e
6 files changed
+84 -33

No files matched your search

-1
View File
@@ -24,7 +24,6 @@
#include <univalue.h>
#ifdef ENABLE_WALLET
#include <wallet/bdb.h>
#include <wallet/db.h>
#include <wallet/wallet.h>
#endif