diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-09-04 18:12:00 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-10-20 23:08:57 +0200 |
commit | e1bfbab8029c33102889d7d970da5b6cc32ff75b (patch) | |
tree | c96ed4dca6cbca2791096fe95e2e866c06016a6a /src/leveldb.h | |
parent | 2d8a48292b0da96cda8d7b45a24a22adfb4667b2 (diff) |
Add LevelDB MemEnv support
Support LevelDB memory-backed environments, and use them in unit tests.
Diffstat (limited to 'src/leveldb.h')
-rw-r--r-- | src/leveldb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb.h b/src/leveldb.h index 28484dac9d..ee9079c3c3 100644 --- a/src/leveldb.h +++ b/src/leveldb.h @@ -69,7 +69,7 @@ private: leveldb::DB *pdb; public: - CLevelDB(const boost::filesystem::path &path); + CLevelDB(const boost::filesystem::path &path, bool fMemory = false); ~CLevelDB(); template<typename K, typename V> bool Read(const K& key, V& value) { |