aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.h
diff options
context:
space:
mode:
authorMeshCollider <dobsonsa68@gmail.com>2017-12-15 11:06:22 +1300
committerMeshCollider <dobsonsa68@gmail.com>2018-01-16 19:02:57 +1300
commite60cb99c580a602a83856769ad2ac882d3cdfcb5 (patch)
tree60d15f0527d6b5289547f411d8717e1e3a67d355 /src/wallet/db.h
parentbbc91b7699732efc20ac1526383515c944b66d70 (diff)
Add a lock to the wallet directory
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r--src/wallet/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index c6f317927f..787135e400 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -68,7 +68,7 @@ public:
typedef std::pair<std::vector<unsigned char>, std::vector<unsigned char> > KeyValPair;
bool Salvage(const std::string& strFile, bool fAggressive, std::vector<KeyValPair>& vResult);
- bool Open(const fs::path& path);
+ bool Open(const fs::path& path, bool retry = 0);
void Close();
void Flush(bool fShutdown);
void CheckpointLSN(const std::string& strFile);