aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/test/util.h')
-rw-r--r--src/wallet/test/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wallet/test/util.h b/src/wallet/test/util.h
index 01c2458a6c..eb1cfd9e21 100644
--- a/src/wallet/test/util.h
+++ b/src/wallet/test/util.h
@@ -22,6 +22,15 @@ namespace wallet {
class CWallet;
class WalletDatabase;
+static const DatabaseFormat DATABASE_FORMATS[] = {
+#ifdef USE_SQLITE
+ DatabaseFormat::SQLITE,
+#endif
+#ifdef USE_BDB
+ DatabaseFormat::BERKELEY,
+#endif
+};
+
std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cchain, const CKey& key);
// Creates a copy of the provided database