Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | enum class DBErrors { | ||||
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; | ||||
//!< seed hash160 | //! seed hash160 | ||||
CKeyID seed_id; | CKeyID seed_id; | ||||
static const int VERSION_HD_BASE = 1; | static const int VERSION_HD_BASE = 1; | ||||
static const int VERSION_HD_CHAIN_SPLIT = 2; | static const int VERSION_HD_CHAIN_SPLIT = 2; | ||||
static const int CURRENT_VERSION = VERSION_HD_CHAIN_SPLIT; | static const int CURRENT_VERSION = VERSION_HD_CHAIN_SPLIT; | ||||
int nVersion; | int nVersion; | ||||
CHDChain() { SetNull(); } | CHDChain() { SetNull(); } | ||||
▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines |