[#wallet-DatabaseStatus] = xref:wallet.adoc[wallet]::DatabaseStatus :relfileprefix: ../ :mrdocs: Result of opening or creating a wallet database. == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class DatabaseStatus : int; ---- == Members [cols="1,4"] |=== | Name| Description | `SUCCESS` | The database was opened or created successfully. | `FAILED_BAD_PATH` | The provided path is invalid. | `FAILED_BAD_FORMAT` | The database format is invalid or unrecognized. | `FAILED_LEGACY_DISABLED` | The database is a legacy wallet and legacy support is disabled. | `FAILED_ALREADY_LOADED` | The database is already loaded. | `FAILED_ALREADY_EXISTS` | A database already exists at the path. | `FAILED_NOT_FOUND` | No database was found at the path. | `FAILED_CREATE` | The database could not be created. | `FAILED_LOAD` | The database could not be loaded. | `FAILED_VERIFY` | The database failed integrity verification. | `FAILED_ENCRYPT` | The database could not be encrypted. | `FAILED_INVALID_BACKUP_FILE` | The backup file is invalid. | `FAILED_NEW_UNNAMED` | A new database was requested without a name. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#