Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <pubkey.h>

+ Collaboration diagram for CExtPubKey:

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

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

Definition at line 220 of file pubkey.h.

References BIP32_EXTKEY_SIZE, and CSizeComputer::seek().

◆ Serialize() [2/2]

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

Definition at line 226 of file pubkey.h.

References BIP32_EXTKEY_SIZE, Encode(), and WriteCompactSize().

◆ Unserialize()

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

Definition at line 235 of file pubkey.h.

References BIP32_EXTKEY_SIZE, Decode(), and ReadCompactSize().

Friends And Related Function Documentation

◆ operator==

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

Definition at line 207 of file pubkey.h.

Member Data Documentation

◆ chaincode

ChainCode CExtPubKey::chaincode

Definition at line 204 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 201 of file pubkey.h.

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

◆ pubkey

◆ vchFingerprint

unsigned char CExtPubKey::vchFingerprint[4]

Definition at line 202 of file pubkey.h.

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


The documentation for this struct was generated from the following files:
Released under the MIT license