![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <key.h>
Public Member Functions | |
void | Encode (unsigned char code[74]) const |
void | Decode (const unsigned char code[74]) |
bool | Derive (CExtKey &out, unsigned int nChild) const |
CExtPubKey | Neuter () const |
void | SetMaster (const unsigned char *seed, unsigned int nSeedLen) |
template<typename Stream > | |
void | Serialize (Stream &s, int nType, int nVersion) const |
template<typename Stream > | |
void | Unserialize (Stream &s, int nType, int nVersion) |
Public Attributes | |
unsigned char | nDepth |
unsigned char | vchFingerprint [4] |
unsigned int | nChild |
ChainCode | chaincode |
CKey | key |
Friends | |
bool | operator== (const CExtKey &a, const CExtKey &b) |
void CExtKey::Decode | ( | const unsigned char | code[74] | ) |
Definition at line 289 of file key.cpp.
Referenced by Unserialize().
bool CExtKey::Derive | ( | CExtKey & | out, |
unsigned int | nChild | ||
) | const |
Definition at line 247 of file key.cpp.
Referenced by CHDChain::DeriveChildExtKey().
void CExtKey::Encode | ( | unsigned char | code[74] | ) | const |
Definition at line 278 of file key.cpp.
Referenced by Serialize().
CExtPubKey CExtKey::Neuter | ( | ) | const |
Definition at line 268 of file key.cpp.
Referenced by CHDChain::Debug(), CWallet::DeriveNewChildKey(), and dumpwallet().
|
inline |
void CExtKey::SetMaster | ( | const unsigned char * | seed, |
unsigned int | nSeedLen | ||
) |
Definition at line 255 of file key.cpp.
Referenced by CHDChain::Debug(), CHDChain::DeriveChildExtKey(), and dumpwallet().
|
inline |
ChainCode CExtKey::chaincode |
CKey CExtKey::key |
Definition at line 159 of file key.h.
Referenced by Decode(), Derive(), CWallet::DeriveNewChildKey(), Encode(), CWallet::GetKey(), Neuter(), and SetMaster().
unsigned int CExtKey::nChild |
unsigned char CExtKey::nDepth |
unsigned char CExtKey::vchFingerprint[4] |