![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include <key.h>
Public Member Functions | |
void | Encode (unsigned char code[74]) const |
void | Decode (const unsigned char code[74]) |
bool | Derive (CExtPubKey &out, unsigned int nChild) const |
Public Attributes | |
unsigned char | nDepth |
unsigned char | vchFingerprint [4] |
unsigned int | nChild |
unsigned char | vchChainCode [32] |
CPubKey | pubkey |
Friends | |
bool | operator== (const CExtPubKey &a, const CExtPubKey &b) |
void CExtPubKey::Decode | ( | const unsigned char | code[74] | ) |
Definition at line 604 of file key.cpp.
References memcpy(), nChild, nDepth, CPubKey::Set(), vchChainCode, and vchFingerprint.
bool CExtPubKey::Derive | ( | CExtPubKey & | out, |
unsigned int | nChild | ||
) | const |
Definition at line 612 of file key.cpp.
References CPubKey::Derive(), CPubKey::GetID(), memcpy(), nChild, nDepth, pubkey, vchChainCode, and vchFingerprint.
void CExtPubKey::Encode | ( | unsigned char | code[74] | ) | const |
Definition at line 594 of file key.cpp.
References CPubKey::begin(), memcpy(), nChild, nDepth, CPubKey::size(), vchChainCode, and vchFingerprint.
|
friend |
unsigned int CExtPubKey::nChild |
unsigned char CExtPubKey::nDepth |
CPubKey CExtPubKey::pubkey |
Definition at line 279 of file key.h.
Referenced by Derive(), and CExtKey::Neuter().
unsigned char CExtPubKey::vchChainCode[32] |
unsigned char CExtPubKey::vchFingerprint[4] |