Bitcoin ABC  0.29.2
P2P Digital Currency
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CKeyMetadata Class Reference

#include <walletdb.h>

Collaboration diagram for CKeyMetadata:
[legend]

Public Member Functions

 CKeyMetadata ()
 
 CKeyMetadata (int64_t nCreateTime_)
 
 SERIALIZE_METHODS (CKeyMetadata, obj)
 
void SetNull ()
 

Public Attributes

int nVersion
 
int64_t nCreateTime
 
std::string hdKeypath
 
CKeyID hd_seed_id
 
KeyOriginInfo key_origin
 
bool has_key_origin = false
 Whether the key_origin is useful. More...
 

Static Public Attributes

static const int VERSION_BASIC = 1
 
static const int VERSION_WITH_HDDATA = 10
 
static const int VERSION_WITH_KEY_ORIGIN = 12
 
static const int CURRENT_VERSION = VERSION_WITH_KEY_ORIGIN
 

Detailed Description

Definition at line 120 of file walletdb.h.

Constructor & Destructor Documentation

◆ CKeyMetadata() [1/2]

CKeyMetadata::CKeyMetadata ( )
inline

Definition at line 139 of file walletdb.h.

Here is the call graph for this function:

◆ CKeyMetadata() [2/2]

CKeyMetadata::CKeyMetadata ( int64_t  nCreateTime_)
inlineexplicit

Definition at line 140 of file walletdb.h.

Here is the call graph for this function:

Member Function Documentation

◆ SERIALIZE_METHODS()

CKeyMetadata::SERIALIZE_METHODS ( CKeyMetadata  ,
obj   
)
inline

Definition at line 145 of file walletdb.h.

◆ SetNull()

void CKeyMetadata::SetNull ( )
inline

Definition at line 156 of file walletdb.h.

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

Member Data Documentation

◆ CURRENT_VERSION

const int CKeyMetadata::CURRENT_VERSION = VERSION_WITH_KEY_ORIGIN
static

Definition at line 125 of file walletdb.h.

◆ has_key_origin

bool CKeyMetadata::has_key_origin = false

Whether the key_origin is useful.

Definition at line 137 of file walletdb.h.

◆ hd_seed_id

CKeyID CKeyMetadata::hd_seed_id

Definition at line 133 of file walletdb.h.

◆ hdKeypath

std::string CKeyMetadata::hdKeypath

Definition at line 131 of file walletdb.h.

◆ key_origin

KeyOriginInfo CKeyMetadata::key_origin

Definition at line 135 of file walletdb.h.

◆ nCreateTime

int64_t CKeyMetadata::nCreateTime

Definition at line 128 of file walletdb.h.

◆ nVersion

int CKeyMetadata::nVersion

Definition at line 126 of file walletdb.h.

◆ VERSION_BASIC

const int CKeyMetadata::VERSION_BASIC = 1
static

Definition at line 122 of file walletdb.h.

◆ VERSION_WITH_HDDATA

const int CKeyMetadata::VERSION_WITH_HDDATA = 10
static

Definition at line 123 of file walletdb.h.

◆ VERSION_WITH_KEY_ORIGIN

const int CKeyMetadata::VERSION_WITH_KEY_ORIGIN = 12
static

Definition at line 124 of file walletdb.h.


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