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
Member Function Documentation
◆ Decode()
| void CExtPubKey::Decode | ( | const unsigned char | code[BIP32_EXTKEY_SIZE] | ) |
Definition at line 258 of file pubkey.cpp.
References base_blob< BITS >::begin(), BIP32_EXTKEY_SIZE, chaincode, memcpy(), nChild, nDepth, pubkey, CPubKey::Set(), and vchFingerprint.
Referenced by Unserialize().
◆ Derive()
| bool CExtPubKey::Derive | ( | CExtPubKey & | out, |
| unsigned int | nChild | ||
| ) | const |
Definition at line 266 of file pubkey.cpp.
References chaincode, CPubKey::Derive(), CPubKey::GetID(), memcpy(), nChild, nDepth, pubkey, and vchFingerprint.
◆ Encode()
| void CExtPubKey::Encode | ( | unsigned char | code[BIP32_EXTKEY_SIZE] | ) | const |
Definition at line 248 of file pubkey.cpp.
References base_blob< BITS >::begin(), CPubKey::begin(), chaincode, CPubKey::COMPRESSED_PUBLIC_KEY_SIZE, memcpy(), nChild, nDepth, pubkey, CPubKey::size(), and vchFingerprint.
Referenced by Serialize().
◆ Serialize() [1/2]
|
inline |
Definition at line 220 of file pubkey.h.
References BIP32_EXTKEY_SIZE, and CSizeComputer::seek().
◆ Serialize() [2/2]
|
inline |
Definition at line 226 of file pubkey.h.
References BIP32_EXTKEY_SIZE, Encode(), and WriteCompactSize().
◆ Unserialize()
|
inline |
Definition at line 235 of file pubkey.h.
References BIP32_EXTKEY_SIZE, Decode(), and ReadCompactSize().
Friends And Related Function Documentation
◆ operator==
|
friend |
Member Data Documentation
◆ chaincode
| ChainCode CExtPubKey::chaincode |
◆ nChild
| unsigned int CExtPubKey::nChild |
Definition at line 203 of file pubkey.h.
Referenced by Decode(), Derive(), Encode(), CWallet::GetKey(), CHDPubKey::GetKeyPath(), and CExtKey::Neuter().
◆ nDepth
| unsigned char CExtPubKey::nDepth |
◆ pubkey
| CPubKey CExtPubKey::pubkey |
Definition at line 205 of file pubkey.h.
Referenced by CWallet::AddHDPubKey(), Decode(), Derive(), Encode(), CWallet::GetPubKey(), CWallet::LoadHDPubKey(), CExtKey::Neuter(), and WalletBatch::WriteHDPubKey().
◆ vchFingerprint
| unsigned char CExtPubKey::vchFingerprint[4] |
The documentation for this struct was generated from the following files:
- src/pubkey.h
- src/pubkey.cpp

