Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
wallet::CKeyMetadata Class Reference

#include <walletdb.h>

Collaboration diagram for wallet::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 135 of file walletdb.h.

Constructor & Destructor Documentation

◆ CKeyMetadata() [1/2]

wallet::CKeyMetadata::CKeyMetadata ( )
inline

Definition at line 149 of file walletdb.h.

Here is the call graph for this function:

◆ CKeyMetadata() [2/2]

wallet::CKeyMetadata::CKeyMetadata ( int64_t  nCreateTime_)
inlineexplicit

Definition at line 153 of file walletdb.h.

Here is the call graph for this function:

Member Function Documentation

◆ SERIALIZE_METHODS()

wallet::CKeyMetadata::SERIALIZE_METHODS ( CKeyMetadata  ,
obj   
)
inline

Definition at line 159 of file walletdb.h.

◆ SetNull()

void wallet::CKeyMetadata::SetNull ( )
inline

Definition at line 172 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 wallet::CKeyMetadata::CURRENT_VERSION =VERSION_WITH_KEY_ORIGIN
static

Definition at line 141 of file walletdb.h.

◆ has_key_origin

bool wallet::CKeyMetadata::has_key_origin = false

Whether the key_origin is useful.

Definition at line 147 of file walletdb.h.

◆ hd_seed_id

CKeyID wallet::CKeyMetadata::hd_seed_id

Definition at line 145 of file walletdb.h.

◆ hdKeypath

std::string wallet::CKeyMetadata::hdKeypath

Definition at line 144 of file walletdb.h.

◆ key_origin

KeyOriginInfo wallet::CKeyMetadata::key_origin

Definition at line 146 of file walletdb.h.

◆ nCreateTime

int64_t wallet::CKeyMetadata::nCreateTime

Definition at line 143 of file walletdb.h.

◆ nVersion

int wallet::CKeyMetadata::nVersion

Definition at line 142 of file walletdb.h.

◆ VERSION_BASIC

const int wallet::CKeyMetadata::VERSION_BASIC =1
static

Definition at line 138 of file walletdb.h.

◆ VERSION_WITH_HDDATA

const int wallet::CKeyMetadata::VERSION_WITH_HDDATA =10
static

Definition at line 139 of file walletdb.h.

◆ VERSION_WITH_KEY_ORIGIN

const int wallet::CKeyMetadata::VERSION_WITH_KEY_ORIGIN = 12
static

Definition at line 140 of file walletdb.h.


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