Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
CExtKey Struct Reference

#include <key.h>

Collaboration diagram for CExtKey:
[legend]

Public Member Functions

void Encode (unsigned char code[BIP32_EXTKEY_SIZE]) const
 
void Decode (const unsigned char code[BIP32_EXTKEY_SIZE])
 
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) const
 
template<typename Stream >
void Unserialize (Stream &s)
 

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)
 

Detailed Description

Definition at line 135 of file key.h.

Member Function Documentation

void CExtKey::Decode ( const unsigned char  code[BIP32_EXTKEY_SIZE])

Definition at line 276 of file key.cpp.

Here is the call graph for this function:

bool CExtKey::Derive ( CExtKey out,
unsigned int  nChild 
) const

Definition at line 236 of file key.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CExtKey::Encode ( unsigned char  code[BIP32_EXTKEY_SIZE]) const

Definition at line 265 of file key.cpp.

Here is the call graph for this function:

CExtPubKey CExtKey::Neuter ( ) const

Definition at line 255 of file key.cpp.

Here is the call graph for this function:

template<typename Stream >
void CExtKey::Serialize ( Stream &  s) const
inline

Definition at line 157 of file key.h.

Here is the call graph for this function:

void CExtKey::SetMaster ( const unsigned char *  seed,
unsigned int  nSeedLen 
)

Definition at line 244 of file key.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename Stream >
void CExtKey::Unserialize ( Stream &  s)
inline

Definition at line 166 of file key.h.

Here is the call graph for this function:

Friends And Related Function Documentation

bool operator== ( const CExtKey a,
const CExtKey b 
)
friend

Definition at line 142 of file key.h.

Member Data Documentation

ChainCode CExtKey::chaincode

Definition at line 139 of file key.h.

CKey CExtKey::key

Definition at line 140 of file key.h.

unsigned int CExtKey::nChild

Definition at line 138 of file key.h.

unsigned char CExtKey::nDepth

Definition at line 136 of file key.h.

unsigned char CExtKey::vchFingerprint[4]

Definition at line 137 of file key.h.


The documentation for this struct was generated from the following files: