Dash Core  0.12.2.1
P2P Digital Currency
CExtPubKey Struct Reference

#include <pubkey.h>

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
 
unsigned int GetSerializeSize (int nType, int nVersion) 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
 
ChainCode chaincode
 
CPubKey pubkey
 

Friends

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

Detailed Description

Definition at line 195 of file pubkey.h.

Member Function Documentation

◆ Decode()

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

Definition at line 259 of file pubkey.cpp.

Referenced by Unserialize().

◆ Derive()

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

Definition at line 267 of file pubkey.cpp.

◆ Encode()

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

Definition at line 249 of file pubkey.cpp.

Referenced by Serialize().

◆ GetSerializeSize()

unsigned int CExtPubKey::GetSerializeSize ( int  nType,
int  nVersion 
) const
inline

Definition at line 212 of file pubkey.h.

◆ Serialize()

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

Definition at line 217 of file pubkey.h.

◆ Unserialize()

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

Definition at line 226 of file pubkey.h.

Friends And Related Function Documentation

◆ operator==

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

Definition at line 202 of file pubkey.h.

Member Data Documentation

◆ chaincode

ChainCode CExtPubKey::chaincode

Definition at line 199 of file pubkey.h.

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

◆ nChild

unsigned int CExtPubKey::nChild

◆ nDepth

unsigned char CExtPubKey::nDepth

Definition at line 196 of file pubkey.h.

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

◆ pubkey

◆ vchFingerprint

unsigned char CExtPubKey::vchFingerprint[4]

Definition at line 197 of file pubkey.h.

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


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