diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-11-04 17:11:48 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-11-04 18:06:25 +0100 |
commit | 1c83b0a3771bc601fdc75588f2cd45318b19c526 (patch) | |
tree | 3c81936fefc0a962c764522057cb6d68e6c230e4 /src/leveldb.h | |
parent | a56d3f8a10e3c9f844aee1f362635ae14b872023 (diff) |
Cache size optimizations
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 ee9079c3c3..e5b2e1ef0b 100644 --- a/src/leveldb.h +++ b/src/leveldb.h @@ -69,7 +69,7 @@ private: leveldb::DB *pdb; public: - CLevelDB(const boost::filesystem::path &path, bool fMemory = false); + CLevelDB(const boost::filesystem::path &path, size_t nCacheSize, bool fMemory = false); ~CLevelDB(); template<typename K, typename V> bool Read(const K& key, V& value) { |