aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2020-08-04 19:33:37 -0400
committerRussell Yanofsky <[email protected]>2020-09-03 12:24:32 -0400
commit3c815cfe54087fd139169161d2fd175e99840e6a (patch)
tree9845581f644144cb90197b46f94f61bf18ccde50 /src/wallet/walletdb.cpp
parentrefactor: Use DatabaseStatus and DatabaseOptions types (diff)
downloaddiscoin-3c815cfe54087fd139169161d2fd175e99840e6a.tar.xz
discoin-3c815cfe54087fd139169161d2fd175e99840e6a.zip
wallet: Remove Verify and IsLoaded methods
Checks are now consolidated in MakeBerkeleyDatabase function instead of happening in higher level code. This commit does not change behavior except for error messages which now include more complete information.
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 23c4b6977..29ac52cb3 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -1032,11 +1032,6 @@ std::unique_ptr<WalletDatabase> MakeDatabase(const fs::path& path, const Databas
return MakeBerkeleyDatabase(path, options, status, error);
}
-bool IsWalletLoaded(const fs::path& wallet_path)
-{
- return IsBDBWalletLoaded(wallet_path);
-}
-
/** Return object for accessing database at specified path. */
std::unique_ptr<WalletDatabase> CreateWalletDatabase(const fs::path& path)
{