diff options
author | MeshCollider <dobsonsa68@gmail.com> | 2017-10-09 09:48:07 +1300 |
---|---|---|
committer | MeshCollider <dobsonsa68@gmail.com> | 2017-11-18 00:50:58 +1300 |
commit | 0530ba0eae147563921b162ed05347234d8b53c0 (patch) | |
tree | 40d494bbef4a50def396d325004aa69bc6ddda01 /src/wallet/db.h | |
parent | 99bc0b428b03b571afbc311b7f18fd3a707ac5af (diff) | |
download | bitcoin-0530ba0eae147563921b162ed05347234d8b53c0.tar.xz |
Add -walletdir parameter to specify custom wallet dir
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r-- | src/wallet/db.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h index 5c5948aa29..ed2ee65cac 100644 --- a/src/wallet/db.h +++ b/src/wallet/db.h @@ -167,9 +167,9 @@ public: ideal to be called periodically */ static bool PeriodicFlush(CWalletDBWrapper& dbw); /* verifies the database environment */ - static bool VerifyEnvironment(const std::string& walletFile, const fs::path& dataDir, std::string& errorStr); + static bool VerifyEnvironment(const std::string& walletFile, const fs::path& walletDir, std::string& errorStr); /* verifies the database file */ - static bool VerifyDatabaseFile(const std::string& walletFile, const fs::path& dataDir, std::string& warningStr, std::string& errorStr, CDBEnv::recoverFunc_type recoverFunc); + static bool VerifyDatabaseFile(const std::string& walletFile, const fs::path& walletDir, std::string& warningStr, std::string& errorStr, CDBEnv::recoverFunc_type recoverFunc); public: template <typename K, typename T> |