Bitcoin ABC 0.30.5
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 (uint8_t code[BIP32_EXTKEY_SIZE]) const
 
void Decode (const uint8_t code[BIP32_EXTKEY_SIZE])
 
bool Derive (CExtPubKey &out, unsigned int nChild) const
 
 CExtPubKey ()=default
 

Public Attributes

uint8_t nDepth
 
uint8_t vchFingerprint [4]
 
unsigned int nChild
 
ChainCode chaincode
 
CPubKey pubkey
 

Friends

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

Detailed Description

Definition at line 193 of file pubkey.h.

Constructor & Destructor Documentation

◆ CExtPubKey()

CExtPubKey::CExtPubKey ( )
default

Member Function Documentation

◆ Decode()

void CExtPubKey::Decode ( const uint8_t  code[BIP32_EXTKEY_SIZE])

Definition at line 325 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 333 of file pubkey.cpp.

Here is the call graph for this function:

◆ Encode()

void CExtPubKey::Encode ( uint8_t  code[BIP32_EXTKEY_SIZE]) const

Definition at line 313 of file pubkey.cpp.

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

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 208 of file pubkey.h.

◆ operator==

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

Definition at line 200 of file pubkey.h.

Member Data Documentation

◆ chaincode

ChainCode CExtPubKey::chaincode

Definition at line 197 of file pubkey.h.

◆ nChild

unsigned int CExtPubKey::nChild

Definition at line 196 of file pubkey.h.

◆ nDepth

uint8_t CExtPubKey::nDepth

Definition at line 194 of file pubkey.h.

◆ pubkey

CPubKey CExtPubKey::pubkey

Definition at line 198 of file pubkey.h.

◆ vchFingerprint

uint8_t CExtPubKey::vchFingerprint[4]

Definition at line 195 of file pubkey.h.


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