Bitcoin
Public Member Functions | Public Attributes | Friends | List of all members
CExtKey Struct Reference

#include <key.h>

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 SetSeed (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)
 

Member Function Documentation

◆ Decode()

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

◆ Derive()

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

◆ Encode()

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

◆ Neuter()

CExtPubKey CExtKey::Neuter ( ) const

◆ Serialize()

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

◆ SetSeed()

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

◆ Unserialize()

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

Friends And Related Function Documentation

◆ operator==

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

Member Data Documentation

◆ chaincode

ChainCode CExtKey::chaincode

◆ key

CKey CExtKey::key

◆ nChild

unsigned int CExtKey::nChild

◆ nDepth

unsigned char CExtKey::nDepth

◆ vchFingerprint

unsigned char CExtKey::vchFingerprint[4]

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