Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
class CMasterKey; | class CMasterKey; | ||||
class CScript; | class CScript; | ||||
class CWallet; | class CWallet; | ||||
class CWalletTx; | class CWalletTx; | ||||
class uint160; | class uint160; | ||||
class uint256; | class uint256; | ||||
/** Error statuses for the wallet database */ | /** Error statuses for the wallet database */ | ||||
enum DBErrors { | enum class DBErrors { | ||||
DB_LOAD_OK, | LOAD_OK, | ||||
DB_CORRUPT, | CORRUPT, | ||||
DB_NONCRITICAL_ERROR, | NONCRITICAL_ERROR, | ||||
DB_TOO_NEW, | TOO_NEW, | ||||
DB_LOAD_FAIL, | LOAD_FAIL, | ||||
DB_NEED_REWRITE | NEED_REWRITE | ||||
}; | }; | ||||
/* simple HD chain data model */ | /* simple HD chain data model */ | ||||
class CHDChain { | class CHDChain { | ||||
public: | public: | ||||
uint32_t nExternalChainCounter; | uint32_t nExternalChainCounter; | ||||
uint32_t nInternalChainCounter; | uint32_t nInternalChainCounter; | ||||
//!< master key hash160 | //!< master key hash160 | ||||
▲ Show 20 Lines • Show All 209 Lines • Show Last 20 Lines |