PRCYCoin  2.0.0.7rc1
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[74]) const
 
void Decode (const unsigned char code[74])
 
bool Derive (CExtPubKey &out, unsigned int nChild) const
 
template<typename Stream >
void Serialize (Stream &s, int nType, int nVersion) const
 
template<typename Stream >
void Unserialize (Stream &s, int nType, int nVersion)
 

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 205 of file pubkey.h.

Member Function Documentation

◆ Decode()

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

Definition at line 124 of file pubkey.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Derive()

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

Definition at line 133 of file pubkey.cpp.

Here is the call graph for this function:

◆ Encode()

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

Definition at line 111 of file pubkey.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Serialize()

template<typename Stream >
void CExtPubKey::Serialize ( Stream &  s,
int  nType,
int  nVersion 
) const
inline

Definition at line 223 of file pubkey.h.

Here is the call graph for this function:

◆ Unserialize()

template<typename Stream >
void CExtPubKey::Unserialize ( Stream &  s,
int  nType,
int  nVersion 
)
inline

Definition at line 232 of file pubkey.h.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator==

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

Definition at line 212 of file pubkey.h.

Member Data Documentation

◆ nChild

unsigned int CExtPubKey::nChild

Definition at line 208 of file pubkey.h.

◆ nDepth

unsigned char CExtPubKey::nDepth

Definition at line 206 of file pubkey.h.

◆ pubkey

CPubKey CExtPubKey::pubkey

Definition at line 210 of file pubkey.h.

◆ vchChainCode

unsigned char CExtPubKey::vchChainCode[32]

Definition at line 209 of file pubkey.h.

◆ vchFingerprint

unsigned char CExtPubKey::vchFingerprint[4]

Definition at line 207 of file pubkey.h.


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