Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,258 Lines • ▼ Show 20 Lines | public: | ||||
/* Returns true if HD is enabled */ | /* Returns true if HD is enabled */ | ||||
bool IsHDEnabled() const; | bool IsHDEnabled() const; | ||||
/* Generates a new HD master key (will not be activated) */ | /* Generates a new HD master key (will not be activated) */ | ||||
CPubKey GenerateNewHDMasterKey(); | CPubKey GenerateNewHDMasterKey(); | ||||
/** | /** | ||||
* Derives a new HD master key (will not be activated) | |||||
*/ | |||||
CPubKey DeriveNewMasterHDKey(const CKey &key); | |||||
/** | |||||
* Set the current HD master key (will reset the chain child index counters) | * Set the current HD master key (will reset the chain child index counters) | ||||
* Sets the master key's version based on the current wallet version (so the | * Sets the master key's version based on the current wallet version (so the | ||||
* caller must ensure the current wallet version is correct before calling | * caller must ensure the current wallet version is correct before calling | ||||
* this function). | * this function). | ||||
*/ | */ | ||||
void SetHDMasterKey(const CPubKey &key); | void SetHDMasterKey(const CPubKey &key); | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |