Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
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 122 of file walletdb.h.

Constructor & Destructor Documentation

CKeyMetadata::CKeyMetadata ( )
inline

Definition at line 136 of file walletdb.h.

Here is the call graph for this function:

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

CKeyMetadata::SERIALIZE_METHODS ( CKeyMetadata  ,
obj   
)
inline

Definition at line 146 of file walletdb.h.

void CKeyMetadata::SetNull ( )
inline

Definition at line 159 of file walletdb.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

const int CKeyMetadata::CURRENT_VERSION =VERSION_WITH_KEY_ORIGIN
static

Definition at line 128 of file walletdb.h.

bool CKeyMetadata::has_key_origin = false

Whether the key_origin is useful.

Definition at line 134 of file walletdb.h.

CKeyID CKeyMetadata::hd_seed_id

Definition at line 132 of file walletdb.h.

std::string CKeyMetadata::hdKeypath

Definition at line 131 of file walletdb.h.

KeyOriginInfo CKeyMetadata::key_origin

Definition at line 133 of file walletdb.h.

int64_t CKeyMetadata::nCreateTime

Definition at line 130 of file walletdb.h.

int CKeyMetadata::nVersion

Definition at line 129 of file walletdb.h.

const int CKeyMetadata::VERSION_BASIC =1
static

Definition at line 125 of file walletdb.h.

const int CKeyMetadata::VERSION_WITH_HDDATA =10
static

Definition at line 126 of file walletdb.h.

const int CKeyMetadata::VERSION_WITH_KEY_ORIGIN = 12
static

Definition at line 127 of file walletdb.h.


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