Bitcoin Core  27.99.0
P2P Digital Currency
Public Attributes | List of all members
wallet::DatabaseOptions Struct Reference

#include <db.h>

Public Attributes

bool require_existing = false
 
bool require_create = false
 
std::optional< DatabaseFormatrequire_format
 
uint64_t create_flags = 0
 
SecureString create_passphrase
 
bool verify = true
 Check data integrity on load. More...
 
bool use_unsafe_sync = false
 Disable file sync for faster performance. More...
 
bool use_shared_memory = false
 Let other processes access the database. More...
 
int64_t max_log_mb = 100
 Max log size to allow before consolidating. More...
 

Detailed Description

Definition at line 182 of file db.h.

Member Data Documentation

◆ create_flags

uint64_t wallet::DatabaseOptions::create_flags = 0

Definition at line 186 of file db.h.

◆ create_passphrase

SecureString wallet::DatabaseOptions::create_passphrase

Definition at line 187 of file db.h.

◆ max_log_mb

int64_t wallet::DatabaseOptions::max_log_mb = 100

Max log size to allow before consolidating.

Definition at line 193 of file db.h.

◆ require_create

bool wallet::DatabaseOptions::require_create = false

Definition at line 184 of file db.h.

◆ require_existing

bool wallet::DatabaseOptions::require_existing = false

Definition at line 183 of file db.h.

◆ require_format

std::optional<DatabaseFormat> wallet::DatabaseOptions::require_format

Definition at line 185 of file db.h.

◆ use_shared_memory

bool wallet::DatabaseOptions::use_shared_memory = false

Let other processes access the database.

Definition at line 192 of file db.h.

◆ use_unsafe_sync

bool wallet::DatabaseOptions::use_unsafe_sync = false

Disable file sync for faster performance.

Definition at line 191 of file db.h.

◆ verify

bool wallet::DatabaseOptions::verify = true

Check data integrity on load.

Definition at line 190 of file db.h.


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