Dash Core  0.12.2.1
P2P Digital Currency
CHDPubKey Class Reference

#include <hdchain.h>

Public Member Functions

 CHDPubKey ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
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 123 of file hdchain.h.

Constructor & Destructor Documentation

◆ CHDPubKey()

CHDPubKey::CHDPubKey ( )
inline

Definition at line 135 of file hdchain.h.

Member Function Documentation

◆ GetKeyPath()

std::string CHDPubKey::GetKeyPath ( ) const

Definition at line 209 of file hdchain.cpp.

◆ SerializationOp()

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

Definition at line 139 of file hdchain.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CHDPubKey::ADD_SERIALIZE_METHODS

Definition at line 137 of file hdchain.h.

◆ CURRENT_VERSION

const int CHDPubKey::CURRENT_VERSION = 1
staticprivate

Definition at line 126 of file hdchain.h.

◆ extPubKey

◆ hdchainID

uint256 CHDPubKey::hdchainID

Definition at line 131 of file hdchain.h.

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

◆ nAccountIndex

uint32_t CHDPubKey::nAccountIndex

Definition at line 132 of file hdchain.h.

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

◆ nChangeIndex

uint32_t CHDPubKey::nChangeIndex

Definition at line 133 of file hdchain.h.

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

◆ nVersion

int CHDPubKey::nVersion
private

Definition at line 127 of file hdchain.h.

Referenced by SerializationOp().


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