Bitcoin Core  0.18.99
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_)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
void SetNull ()
 

Public Attributes

int nVersion
 
int64_t nCreateTime
 
std::string hdKeypath
 
CKeyID hd_seed_id
 
KeyOriginInfo key_origin
 
bool has_key_origin = false
 
 ADD_SERIALIZE_METHODS
 

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 118 of file walletdb.h.

Constructor & Destructor Documentation

◆ CKeyMetadata() [1/2]

CKeyMetadata::CKeyMetadata ( )
inline

Definition at line 132 of file walletdb.h.

◆ CKeyMetadata() [2/2]

CKeyMetadata::CKeyMetadata ( int64_t  nCreateTime_)
inlineexplicit

Definition at line 136 of file walletdb.h.

Member Function Documentation

◆ SerializationOp()

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

Definition at line 145 of file walletdb.h.

◆ SetNull()

void CKeyMetadata::SetNull ( )
inline

Definition at line 160 of file walletdb.h.

Here is the call graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CKeyMetadata::ADD_SERIALIZE_METHODS

Definition at line 142 of file walletdb.h.

◆ CURRENT_VERSION

const int CKeyMetadata::CURRENT_VERSION =VERSION_WITH_KEY_ORIGIN
static

Definition at line 124 of file walletdb.h.

◆ has_key_origin

bool CKeyMetadata::has_key_origin = false

Definition at line 130 of file walletdb.h.

◆ hd_seed_id

CKeyID CKeyMetadata::hd_seed_id

Definition at line 128 of file walletdb.h.

◆ hdKeypath

std::string CKeyMetadata::hdKeypath

Definition at line 127 of file walletdb.h.

◆ key_origin

KeyOriginInfo CKeyMetadata::key_origin

Definition at line 129 of file walletdb.h.

◆ nCreateTime

int64_t CKeyMetadata::nCreateTime

Definition at line 126 of file walletdb.h.

◆ nVersion

int CKeyMetadata::nVersion

Definition at line 125 of file walletdb.h.

◆ VERSION_BASIC

const int CKeyMetadata::VERSION_BASIC =1
static

Definition at line 121 of file walletdb.h.

◆ VERSION_WITH_HDDATA

const int CKeyMetadata::VERSION_WITH_HDDATA =10
static

Definition at line 122 of file walletdb.h.

◆ VERSION_WITH_KEY_ORIGIN

const int CKeyMetadata::VERSION_WITH_KEY_ORIGIN = 12
static

Definition at line 123 of file walletdb.h.


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