![]() |
Bitcoin Core 31.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. More... | |
| size_t | cache_bytes |
| Configures various leveldb cache settings. More... | |
| bool | memory_only = false |
| If true, use leveldb's memory environment. More... | |
| bool | wipe_data = false |
| If true, remove all existing data. More... | |
| bool | obfuscate = false |
| If true, store data obfuscated via simple XOR. More... | |
| DBOptions | options {} |
| Passed-through options. More... | |
| leveldb::Env * | testing_env = nullptr |
| If non-null, use this as the leveldb::Env instead of the default. More... | |
| size_t | max_file_size = DBWRAPPER_MAX_FILE_SIZE |
| Maximum LevelDB SST file size. More... | |
Application-specific storage settings.
Definition at line 38 of file dbwrapper.h.
| size_t DBParams::cache_bytes |
Configures various leveldb cache settings.
Definition at line 42 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 57 of file dbwrapper.h.
| bool DBParams::memory_only = false |
If true, use leveldb's memory environment.
Definition at line 44 of file dbwrapper.h.
| bool DBParams::obfuscate = false |
If true, store data obfuscated via simple XOR.
If false, XOR with a zero'd byte array.
Definition at line 49 of file dbwrapper.h.
| DBOptions DBParams::options {} |
Passed-through options.
Definition at line 51 of file dbwrapper.h.
| fs::path DBParams::path |
Location in the filesystem where leveldb data will be stored.
Definition at line 40 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 54 of file dbwrapper.h.
| bool DBParams::wipe_data = false |
If true, remove all existing data.
Definition at line 46 of file dbwrapper.h.