Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
DatabaseOptions Struct Reference

#include <db.h>

Public Attributes

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

Detailed Description

Definition at line 172 of file db.h.

Member Data Documentation

◆ create_flags

Definition at line 176 of file db.h.

◆ create_passphrase

◆ max_log_mb

Max log size to allow before consolidating.

Definition at line 183 of file db.h.

◆ require_create

Definition at line 174 of file db.h.

◆ require_existing

Definition at line 173 of file db.h.

◆ require_format

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

Definition at line 175 of file db.h.

◆ use_shared_memory

Let other processes access the database.

Definition at line 182 of file db.h.

◆ use_unsafe_sync

Disable file sync for faster performance.

Definition at line 181 of file db.h.

◆ verify

Check data integrity on load.

Definition at line 180 of file db.h.


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