Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <hdchain.h>

+ Collaboration diagram for CHDPubKey:

Public Member Functions

 CHDPubKey ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
std::string GetKeyPath () const
 

Public Attributes

CExtPubKey extPubKey
 
uint256 hdchainID
 
uint32_t nAccountIndex
 
uint32_t nChangeIndex
 
 ADD_SERIALIZE_METHODS
 

Private Attributes

int nVersion
 

Static Private Attributes

static const int CURRENT_VERSION = 1
 

Detailed Description

Definition at line 122 of file hdchain.h.

Constructor & Destructor Documentation

◆ CHDPubKey()

CHDPubKey::CHDPubKey ( )
inline

Definition at line 134 of file hdchain.h.

Member Function Documentation

◆ GetKeyPath()

std::string CHDPubKey::GetKeyPath ( ) const

Definition at line 209 of file hdchain.cpp.

References extPubKey, nAccountIndex, nChangeIndex, CExtPubKey::nChild, Params(), and strprintf.

◆ SerializationOp()

template<typename Stream , typename Operation >
void CHDPubKey::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 138 of file hdchain.h.

References extPubKey, hdchainID, nAccountIndex, nChangeIndex, and READWRITE.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CHDPubKey::ADD_SERIALIZE_METHODS

Definition at line 136 of file hdchain.h.

◆ CURRENT_VERSION

const int CHDPubKey::CURRENT_VERSION = 1
staticprivate

Definition at line 125 of file hdchain.h.

◆ extPubKey

◆ hdchainID

uint256 CHDPubKey::hdchainID

Definition at line 130 of file hdchain.h.

Referenced by CWallet::AddHDPubKey(), and SerializationOp().

◆ nAccountIndex

uint32_t CHDPubKey::nAccountIndex

Definition at line 131 of file hdchain.h.

Referenced by CWallet::GetKey(), GetKeyPath(), and SerializationOp().

◆ nChangeIndex

uint32_t CHDPubKey::nChangeIndex

Definition at line 132 of file hdchain.h.

Referenced by CWallet::AddHDPubKey(), CWallet::GetKey(), GetKeyPath(), and SerializationOp().

◆ nVersion

int CHDPubKey::nVersion
private

Definition at line 126 of file hdchain.h.


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