[#wallet-DatabaseOptions] = xref:wallet.adoc[wallet]::DatabaseOptions :relfileprefix: ../ :mrdocs: Options controlling how a wallet database is opened or created. == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct DatabaseOptions; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:wallet/DatabaseOptions/create_flags.adoc[`create_flags`] | Backend‐specific flags used when creating the database. | xref:wallet/DatabaseOptions/create_passphrase.adoc[`create_passphrase`] | Passphrase used to encrypt a newly created database. | xref:wallet/DatabaseOptions/max_log_mb.adoc[`max_log_mb`] | Max log size to allow before consolidating. | xref:wallet/DatabaseOptions/require_create.adoc[`require_create`] | Fail if the database already exists. | xref:wallet/DatabaseOptions/require_existing.adoc[`require_existing`] | Fail if the database does not already exist. | xref:wallet/DatabaseOptions/require_format.adoc[`require_format`] | Require a specific database format, if set. | xref:wallet/DatabaseOptions/use_shared_memory.adoc[`use_shared_memory`] | Let other processes access the database. | xref:wallet/DatabaseOptions/use_unsafe_sync.adoc[`use_unsafe_sync`] | Disable file sync for faster performance. | xref:wallet/DatabaseOptions/verify.adoc[`verify`] | Check data integrity on load. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#