Result of opening or creating a wallet database.
Declared in <wallet/db.h>
enum class DatabaseStatus : int;
| 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. |