Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
void SetNull() { | void SetNull() { | ||||
nVersion = CHDChain::CURRENT_VERSION; | nVersion = CHDChain::CURRENT_VERSION; | ||||
nExternalChainCounter = 0; | nExternalChainCounter = 0; | ||||
nInternalChainCounter = 0; | nInternalChainCounter = 0; | ||||
seed_id.SetNull(); | seed_id.SetNull(); | ||||
} | } | ||||
bool operator==(const CHDChain &chain) const { | |||||
return seed_id == chain.seed_id; | |||||
} | |||||
}; | }; | ||||
class CKeyMetadata { | class CKeyMetadata { | ||||
public: | public: | ||||
static const int VERSION_BASIC = 1; | static const int VERSION_BASIC = 1; | ||||
static const int VERSION_WITH_HDDATA = 10; | static const int VERSION_WITH_HDDATA = 10; | ||||
static const int VERSION_WITH_KEY_ORIGIN = 12; | static const int VERSION_WITH_KEY_ORIGIN = 12; | ||||
static const int CURRENT_VERSION = VERSION_WITH_KEY_ORIGIN; | static const int CURRENT_VERSION = VERSION_WITH_KEY_ORIGIN; | ||||
▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines |