aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/bdb.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-06-19 20:55:07 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-07-14 11:07:16 -0400
commit2179dbcbcd0b9bef7ad9c907b85294b9a1bccf0f (patch)
tree3d5c7b7ca6781b0a3d1e3e257e7006435c4a71ec /src/wallet/bdb.h
parent71d28e7cdca1c8553531bb3a4725d7916363ec5c (diff)
downloadbitcoin-2179dbcbcd0b9bef7ad9c907b85294b9a1bccf0f.tar.xz
walletdb: Add BerkeleyDatabase::Open dummy function
Adds an Open function for the class abstraction that does nothing for now.
Diffstat (limited to 'src/wallet/bdb.h')
-rw-r--r--src/wallet/bdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h
index 9c4d6afa87..bbaeefa414 100644
--- a/src/wallet/bdb.h
+++ b/src/wallet/bdb.h
@@ -117,6 +117,10 @@ public:
~BerkeleyDatabase();
+ /** Open the database if it is not already opened.
+ * Dummy function, doesn't do anything right now, but is needed for class abstraction */
+ void Open(const char* mode);
+
/** Rewrite the entire database on disk, with the exception of key pszSkip if non-zero
*/
bool Rewrite(const char* pszSkip=nullptr);