mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 09:17:57 +00:00
Make it compile.
This commit is contained in:
@@ -170,8 +170,8 @@ void Application::setup()
|
|||||||
leveldb::Options options;
|
leveldb::Options options;
|
||||||
options.create_if_missing = true;
|
options.create_if_missing = true;
|
||||||
options.block_cache = leveldb::NewLRUCache(theConfig.getSize(siHashNodeDBCache) * 1024 * 1024);
|
options.block_cache = leveldb::NewLRUCache(theConfig.getSize(siHashNodeDBCache) * 1024 * 1024);
|
||||||
if (NODE_SIZE >= 2)
|
if (theConfig.NODE_SIZE >= 2)
|
||||||
options.filter_policy = NewBloomFilterPolicy(10);
|
options.filter_policy = leveldb::NewBloomFilterPolicy(10);
|
||||||
leveldb::Status status = leveldb::DB::Open(options, (theConfig.DATA_DIR / "hashnode").string(), &mHashNodeDB);
|
leveldb::Status status = leveldb::DB::Open(options, (theConfig.DATA_DIR / "hashnode").string(), &mHashNodeDB);
|
||||||
if (!status.ok() || !mHashNodeDB)
|
if (!status.ok() || !mHashNodeDB)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user