diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-05-22 19:51:13 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-07-11 04:26:44 +0000 |
commit | 148e107da6f3e0f477e773cc3a3cb882ff53dab4 (patch) | |
tree | 6ca8d32346ca827c06b90475c27ae0f31dde970c /src/db.h | |
parent | fbf99a9cdc3293b05ccc18c2f2dc6ae45da4258c (diff) |
Run BDB disk-less for test_bitcoin
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,7 @@ class CDBEnv private: bool fDetachDB; bool fDbEnvInit; + bool fMockDb; boost::filesystem::path pathEnv; void EnvShutdown(); @@ -47,6 +48,8 @@ public: CDBEnv(); ~CDBEnv(); + void MakeMock(); + bool IsMock() { return fMockDb; }; bool Open(boost::filesystem::path pathEnv_); void Close(); void Flush(bool fShutdown); |