19 template <
typename Stream,
typename Operation>
20 inline void SerializationOp(Stream& s, Operation ser_action,
int nType,
int nVersion)
60 template <
typename Stream,
typename Operation>
101 void Debug(std::string strName)
const;
138 template <
typename Stream,
typename Operation>
152 #endif // DASH_HDCHAIN_H
SecureVector vchMnemonicPassphrase
CHDChain & operator=(CHDChain from)
bool GetMnemonic(SecureVector &vchMnemonicRet, SecureVector &vchMnemonicPassphraseRet) const
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
SecureVector GetSeed() const
CCriticalSection cs_accounts
static const int CURRENT_VERSION
uint32_t nInternalChainCounter
void swap(CHDChain &first, CHDChain &second)
void DeriveChildExtKey(uint32_t nAccountIndex, bool fInternal, uint32_t nChildIndex, CExtKey &extKeyRet)
bool GetAccount(uint32_t nAccountIndex, CHDAccount &hdAccountRet)
static const int CURRENT_VERSION
std::vector< unsigned char, secure_allocator< unsigned char > > SecureVector
uint32_t nExternalChainCounter
std::string GetKeyPath() const
std::map< uint32_t, CHDAccount > mapAccounts
CHDChain(const CHDChain &other)
void SetCrypted(bool fCryptedIn)
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
bool SetMnemonic(const SecureVector &vchMnemonic, const SecureVector &vchMnemonicPassphrase, bool fUpdateID)
bool SetAccount(uint32_t nAccountIndex, const CHDAccount &hdAccount)
bool SetSeed(const SecureVector &vchSeedIn, bool fUpdateID)
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
void Debug(std::string strName) const