wallet::DatabaseOptions

Options controlling how a wallet database is opened or created.

Synopsis

Declared in <wallet/db.h>

struct DatabaseOptions;

Data Members

NameDescription
create_flags Backend-specific flags used when creating the database.
create_passphrase Passphrase used to encrypt a newly created database.
max_log_mb Max log size to allow before consolidating.
require_create Fail if the database already exists.
require_existing Fail if the database does not already exist.
require_format Require a specific database format, if set.
use_shared_memory Let other processes access the database.
use_unsafe_sync Disable file sync for faster performance.
verify Check data integrity on load.