Add LevelDB MemEnv support
Support LevelDB memory-backed environments, and use them in unit tests.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user