Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
CExtKey Struct Reference

#include <key.h>

Collaboration diagram for CExtKey:
[legend]

Public Member Functions

void Encode (uint8_t code[BIP32_EXTKEY_SIZE]) const
 
void Decode (const uint8_t code[BIP32_EXTKEY_SIZE])
 
bool Derive (CExtKey &out, unsigned int nChild) const
 
CExtPubKey Neuter () const
 
void SetSeed (Span< const std::byte > seed)
 
 CExtKey ()=default
 

Public Attributes

uint8_t nDepth
 
uint8_t vchFingerprint [4]
 
unsigned int nChild
 
ChainCode chaincode
 
CKey key
 

Friends

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

Detailed Description

Definition at line 167 of file key.h.

Constructor & Destructor Documentation

◆ CExtKey()

CExtKey::CExtKey ( )
default

Member Function Documentation

◆ Decode()

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

Definition at line 419 of file key.cpp.

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

◆ Derive()

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

Definition at line 374 of file key.cpp.

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

◆ Encode()

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

Definition at line 406 of file key.cpp.

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

◆ Neuter()

CExtPubKey CExtKey::Neuter ( ) const

Definition at line 396 of file key.cpp.

Here is the call graph for this function:

◆ SetSeed()

void CExtKey::SetSeed ( Span< const std::byte >  seed)

Definition at line 382 of file key.cpp.

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

Friends And Related Symbol Documentation

◆ operator==

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

Definition at line 174 of file key.h.

Member Data Documentation

◆ chaincode

ChainCode CExtKey::chaincode

Definition at line 171 of file key.h.

◆ key

CKey CExtKey::key

Definition at line 172 of file key.h.

◆ nChild

unsigned int CExtKey::nChild

Definition at line 170 of file key.h.

◆ nDepth

uint8_t CExtKey::nDepth

Definition at line 168 of file key.h.

◆ vchFingerprint

uint8_t CExtKey::vchFingerprint[4]

Definition at line 169 of file key.h.


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