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

#include <pubkey.h>

Collaboration diagram for CExtPubKey:
[legend]

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)
 

Detailed Description

Definition at line 193 of file pubkey.h.

Member Function Documentation

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

Definition at line 255 of file pubkey.cpp.

Here is the call graph for this function:

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

Definition at line 263 of file pubkey.cpp.

Here is the call graph for this function:

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

Definition at line 245 of file pubkey.cpp.

Here is the call graph for this function:

void CExtPubKey::Serialize ( CSizeComputer s) const
inline

Definition at line 213 of file pubkey.h.

Here is the call graph for this function:

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

Definition at line 219 of file pubkey.h.

Here is the call graph for this function:

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

Definition at line 228 of file pubkey.h.

Here is the call graph for this function:

Friends And Related Function Documentation

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

Definition at line 200 of file pubkey.h.

Member Data Documentation

ChainCode CExtPubKey::chaincode

Definition at line 197 of file pubkey.h.

unsigned int CExtPubKey::nChild

Definition at line 196 of file pubkey.h.

unsigned char CExtPubKey::nDepth

Definition at line 194 of file pubkey.h.

CPubKey CExtPubKey::pubkey

Definition at line 198 of file pubkey.h.

unsigned char CExtPubKey::vchFingerprint[4]

Definition at line 195 of file pubkey.h.


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