Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
CExtPubKey Struct Reference

#include <key.h>

+ Collaboration diagram for CExtPubKey:

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)
 

Detailed Description

Definition at line 274 of file key.h.

Member Function Documentation

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.

+ Here is the call graph for this function:

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.

+ Here is the call graph for this function:

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.

+ 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 281 of file key.h.

Member Data Documentation

unsigned int CExtPubKey::nChild

Definition at line 277 of file key.h.

Referenced by Decode(), Derive(), Encode(), and CExtKey::Neuter().

unsigned char CExtPubKey::nDepth

Definition at line 275 of file key.h.

Referenced by Decode(), Derive(), Encode(), and CExtKey::Neuter().

CPubKey CExtPubKey::pubkey

Definition at line 279 of file key.h.

Referenced by Derive(), and CExtKey::Neuter().

unsigned char CExtPubKey::vchChainCode[32]

Definition at line 278 of file key.h.

Referenced by Decode(), Derive(), Encode(), and CExtKey::Neuter().

unsigned char CExtPubKey::vchFingerprint[4]

Definition at line 276 of file key.h.

Referenced by Decode(), Derive(), Encode(), and CExtKey::Neuter().


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