Bitcoin Core 31.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 constexpr int VERSION_BASIC {1}
 
static constexpr int VERSION_WITH_HDDATA {10}
 
static constexpr int VERSION_WITH_KEY_ORIGIN {12}
 
static constexpr int CURRENT_VERSION {VERSION_WITH_KEY_ORIGIN}
 

Detailed Description

Definition at line 136 of file walletdb.h.

Constructor & Destructor Documentation

◆ CKeyMetadata() [1/2]

wallet::CKeyMetadata::CKeyMetadata ( )
inline

Definition at line 150 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 154 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 160 of file walletdb.h.

◆ SetNull()

void wallet::CKeyMetadata::SetNull ( )
inline

Definition at line 173 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

constexpr int wallet::CKeyMetadata::CURRENT_VERSION {VERSION_WITH_KEY_ORIGIN}
staticconstexpr

Definition at line 142 of file walletdb.h.

◆ has_key_origin

bool wallet::CKeyMetadata::has_key_origin = false

Whether the key_origin is useful.

Definition at line 148 of file walletdb.h.

◆ hd_seed_id

CKeyID wallet::CKeyMetadata::hd_seed_id

Definition at line 146 of file walletdb.h.

◆ hdKeypath

std::string wallet::CKeyMetadata::hdKeypath

Definition at line 145 of file walletdb.h.

◆ key_origin

KeyOriginInfo wallet::CKeyMetadata::key_origin

Definition at line 147 of file walletdb.h.

◆ nCreateTime

int64_t wallet::CKeyMetadata::nCreateTime

Definition at line 144 of file walletdb.h.

◆ nVersion

int wallet::CKeyMetadata::nVersion

Definition at line 143 of file walletdb.h.

◆ VERSION_BASIC

constexpr int wallet::CKeyMetadata::VERSION_BASIC {1}
staticconstexpr

Definition at line 139 of file walletdb.h.

◆ VERSION_WITH_HDDATA

constexpr int wallet::CKeyMetadata::VERSION_WITH_HDDATA {10}
staticconstexpr

Definition at line 140 of file walletdb.h.

◆ VERSION_WITH_KEY_ORIGIN

constexpr int wallet::CKeyMetadata::VERSION_WITH_KEY_ORIGIN {12}
staticconstexpr

Definition at line 141 of file walletdb.h.


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