Bitcoin ABC 0.30.3
P2P Digital Currency
Public Attributes | List of all members
DBParams Struct Reference

Application-specific storage settings. More...

#include <dbwrapper.h>

Collaboration diagram for DBParams:
[legend]

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...
 

Detailed Description

Application-specific storage settings.

Definition at line 32 of file dbwrapper.h.

Member Data Documentation

◆ cache_bytes

size_t DBParams::cache_bytes

Configures various leveldb cache settings.

Definition at line 36 of file dbwrapper.h.

◆ memory_only

bool DBParams::memory_only = false

If true, use leveldb's memory environment.

Definition at line 38 of file dbwrapper.h.

◆ obfuscate

bool DBParams::obfuscate = false

If true, store data obfuscated via simple XOR.

If false, XOR with a zero'd byte array.

Definition at line 43 of file dbwrapper.h.

◆ options

DBOptions DBParams::options {}

Passed-through options.

Definition at line 45 of file dbwrapper.h.

◆ path

fs::path DBParams::path

Location in the filesystem where leveldb data will be stored.

Definition at line 34 of file dbwrapper.h.

◆ wipe_data

bool DBParams::wipe_data = false

If true, remove all existing data.

Definition at line 40 of file dbwrapper.h.


The documentation for this struct was generated from the following file: