diff options
| author | MeshCollider <[email protected]> | 2017-10-09 09:48:07 +1300 |
|---|---|---|
| committer | MeshCollider <[email protected]> | 2017-11-18 00:50:58 +1300 |
| commit | 0530ba0eae147563921b162ed05347234d8b53c0 (patch) | |
| tree | 40d494bbef4a50def396d325004aa69bc6ddda01 /src/wallet/db.h | |
| parent | Merge #11087: Diagnose unsuitable outputs in lockunspent(). (diff) | |
| download | discoin-0530ba0eae147563921b162ed05347234d8b53c0.tar.xz discoin-0530ba0eae147563921b162ed05347234d8b53c0.zip | |
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 5c5948aa2..ed2ee65ca 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> |