Error statuses for the wallet database. Values are in order of severity. When multiple errors occur, the most severe (highest value) will be returned.
Declared in <wallet/walletdb.h>
enum class DBErrors : int;
| Name | Description |
|---|---|
LOAD_OK | The wallet loaded without error. |
NEED_RESCAN | The wallet loaded but a rescan is required. |
EXTERNAL_SIGNER_SUPPORT_REQUIRED | The wallet requires external signer support that is unavailable. |
NONCRITICAL_ERROR | A non-critical error occurred while loading. |
TOO_NEW | The wallet was created by a newer version of the software. |
UNKNOWN_DESCRIPTOR | The wallet contains a descriptor of an unknown type. |
LOAD_FAIL | The wallet failed to load. |
UNEXPECTED_LEGACY_ENTRY | An unexpected legacy record was found in a descriptor wallet. |
LEGACY_WALLET | The wallet is a legacy wallet. |
CORRUPT | The wallet database is corrupt. |