![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
Application-specific storage settings. More...
#include <dbwrapper.h>
Public Attributes | |
| fs::path | path |
| Location in the filesystem where leveldb data will be stored. | |
| uint64_t | cache_bytes |
| Configures various leveldb cache settings. | |
| bool | memory_only = false |
| If true, use leveldb's memory environment. | |
| bool | wipe_data = false |
| If true, remove all existing data. | |
| bool | obfuscate = false |
| If true, store data obfuscated via simple XOR. | |
| bool | bloom_filter = true |
| If true, build a LevelDB bloom filter to accelerate point lookups. | |
| DBOptions | options {} |
| Passed-through options. | |
| leveldb::Env * | testing_env = nullptr |
| If non-null, use this as the leveldb::Env instead of the default. | |
| size_t | max_file_size = DBWRAPPER_MAX_FILE_SIZE |
| Maximum LevelDB SST file size. | |
Application-specific storage settings.
Definition at line 43 of file dbwrapper.h.
If true, build a LevelDB bloom filter to accelerate point lookups.
Definition at line 56 of file dbwrapper.h.
| uint64_t DBParams::cache_bytes |
Configures various leveldb cache settings.
Definition at line 47 of file dbwrapper.h.
| size_t DBParams::max_file_size = DBWRAPPER_MAX_FILE_SIZE |
Maximum LevelDB SST file size.
Larger values reduce the frequency of compactions but increase their duration.
Definition at line 64 of file dbwrapper.h.
If true, use leveldb's memory environment.
Definition at line 49 of file dbwrapper.h.
If true, store data obfuscated via simple XOR.
If false, XOR with a zero'd byte array.
Definition at line 54 of file dbwrapper.h.
| DBOptions DBParams::options {} |
Passed-through options.
Definition at line 58 of file dbwrapper.h.
| fs::path DBParams::path |
Location in the filesystem where leveldb data will be stored.
Definition at line 45 of file dbwrapper.h.
| leveldb::Env* DBParams::testing_env = nullptr |
If non-null, use this as the leveldb::Env instead of the default.
Caller retains ownership.
Definition at line 61 of file dbwrapper.h.
If true, remove all existing data.
Definition at line 51 of file dbwrapper.h.