Bitcoin Core 32.99.0
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

KeyFingerprint id_key_fingerprint () const
 
template<typename Stream >
void Serialize (Stream &s) const
 BIP32 serialization without the version bytes (BIP32_EXTKEY_SIZE bytes) More...
 
template<typename Stream >
void Unserialize (Stream &s)
 
bool Derive (CExtPubKey &out, unsigned int nChild, uint256 *bip32_tweak_out=nullptr) const
 

Public Attributes

unsigned char version [4]
 
unsigned char nDepth
 
KeyFingerprint fingerprint
 
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 345 of file pubkey.h.

Member Function Documentation

◆ Derive()

bool CExtPubKey::Derive ( CExtPubKey &  out,
unsigned int  nChild,
uint256 *  bip32_tweak_out = nullptr 
) const

Definition at line 385 of file pubkey.cpp.

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

◆ id_key_fingerprint()

KeyFingerprint CExtPubKey::id_key_fingerprint ( ) const
inline

Definition at line 372 of file pubkey.h.

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) const
inline

BIP32 serialization without the version bytes (BIP32_EXTKEY_SIZE bytes)

Definition at line 379 of file pubkey.h.

Here is the call graph for this function:

◆ Unserialize()

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

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

◆ operator==

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

Definition at line 353 of file pubkey.h.

Member Data Documentation

◆ chaincode

ChainCode CExtPubKey::chaincode

Definition at line 350 of file pubkey.h.

◆ fingerprint

KeyFingerprint CExtPubKey::fingerprint

Definition at line 348 of file pubkey.h.

◆ nChild

unsigned int CExtPubKey::nChild

Definition at line 349 of file pubkey.h.

◆ nDepth

unsigned char CExtPubKey::nDepth

Definition at line 347 of file pubkey.h.

◆ pubkey

CPubKey CExtPubKey::pubkey

Definition at line 351 of file pubkey.h.

◆ version

unsigned char CExtPubKey::version[4]

Definition at line 346 of file pubkey.h.


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