src/txdb-leveldb.cpp
// global pointer for LevelDB object instance
global pointer for LevelDB object instance
global pointer for LevelDB object instance
static leveldb::Options GetOptions() {
    leveldb::Options options;
    int nCacheSizeMB = GetArgInt("-dbcache", 25);
    options.block_cache = leveldb::NewLRUCache(nCacheSizeMB * 1048576);
    options.filter_policy = leveldb::NewBloomFilterPolicy(10);
    return options;
}
static leveldb :: Options GetOptions ( ) { leveldb :: Options options ; int nCacheSizeMB = GetArgInt ( " " , 25 ) ; options . block_cache = leveldb :: NewLRUCache ( nCacheSizeMB * 1048576 ) ; options . filter_policy = leveldb :: NewBloomFilterPolicy ( 10 ) ; return options ; }
global pointer for LevelDB object instance
global pointer for LevelDB object instance