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

#include <pubkey.h>

Public Member Functions

void Encode (unsigned char code[BIP32_EXTKEY_SIZE]) const
 
void Decode (const unsigned char code[BIP32_EXTKEY_SIZE])
 
bool Derive (CExtPubKey &out, unsigned int nChild) const
 
void Serialize (CSizeComputer &s) const
 
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
 
CPubKey pubkey
 

Friends

bool operator== (const CExtPubKey &a, const CExtPubKey &b)
 

Member Function Documentation

◆ Decode()

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

◆ Derive()

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

◆ Encode()

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

◆ Serialize() [1/2]

void CExtPubKey::Serialize ( CSizeComputer s) const
inline

◆ Serialize() [2/2]

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

◆ Unserialize()

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

Friends And Related Function Documentation

◆ operator==

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

Member Data Documentation

◆ chaincode

ChainCode CExtPubKey::chaincode

◆ nChild

unsigned int CExtPubKey::nChild

◆ nDepth

unsigned char CExtPubKey::nDepth

◆ pubkey

CPubKey CExtPubKey::pubkey

◆ vchFingerprint

unsigned char CExtPubKey::vchFingerprint[4]

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