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

Berkeley DB BTree metadata page layout. More...

Public Member Functions

 MetaPage (uint32_t expected_page_num)
 
 MetaPage ()=delete
 
template<typename Stream >
void Unserialize (Stream &s)
 

Public Attributes

uint32_t lsn_file
 
uint32_t lsn_offset
 
uint32_t page_num
 
uint32_t magic
 
uint32_t version
 
uint32_t pagesize
 
uint8_t encrypt_algo
 
PageType type
 
uint8_t metaflags
 
uint8_t unused1
 
uint32_t free_list
 
uint32_t last_page
 
uint32_t partitions
 
uint32_t key_count
 
uint32_t record_count
 
BTreeFlags flags
 
std::array< std::byte, 20 > uid
 
uint32_t unused2
 
uint32_t minkey
 
uint32_t re_len
 
uint32_t re_pad
 
uint32_t root
 
char unused3 [368]
 
uint32_t crypto_magic
 
char trash [12]
 
unsigned char iv [20]
 
unsigned char chksum [16]
 
bool other_endian
 
uint32_t expected_page_num
 

Detailed Description

Berkeley DB BTree metadata page layout.

Definition at line 68 of file migrate.cpp.

Constructor & Destructor Documentation

◆ MetaPage() [1/2]

wallet::MetaPage::MetaPage ( uint32_t  expected_page_num)
inline

Definition at line 102 of file migrate.cpp.

◆ MetaPage() [2/2]

wallet::MetaPage::MetaPage ( )
delete

Member Function Documentation

◆ Unserialize()

template<typename Stream >
void wallet::MetaPage::Unserialize ( Stream &  s)
inline

Definition at line 106 of file migrate.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ chksum

unsigned char wallet::MetaPage::chksum[16]

Definition at line 97 of file migrate.cpp.

◆ crypto_magic

uint32_t wallet::MetaPage::crypto_magic

Definition at line 94 of file migrate.cpp.

◆ encrypt_algo

uint8_t wallet::MetaPage::encrypt_algo

Definition at line 77 of file migrate.cpp.

◆ expected_page_num

uint32_t wallet::MetaPage::expected_page_num

Definition at line 100 of file migrate.cpp.

◆ flags

BTreeFlags wallet::MetaPage::flags

Definition at line 86 of file migrate.cpp.

◆ free_list

uint32_t wallet::MetaPage::free_list

Definition at line 81 of file migrate.cpp.

◆ iv

unsigned char wallet::MetaPage::iv[20]

Definition at line 96 of file migrate.cpp.

◆ key_count

uint32_t wallet::MetaPage::key_count

Definition at line 84 of file migrate.cpp.

◆ last_page

uint32_t wallet::MetaPage::last_page

Definition at line 82 of file migrate.cpp.

◆ lsn_file

uint32_t wallet::MetaPage::lsn_file

Definition at line 71 of file migrate.cpp.

◆ lsn_offset

uint32_t wallet::MetaPage::lsn_offset

Definition at line 72 of file migrate.cpp.

◆ magic

uint32_t wallet::MetaPage::magic

Definition at line 74 of file migrate.cpp.

◆ metaflags

uint8_t wallet::MetaPage::metaflags

Definition at line 79 of file migrate.cpp.

◆ minkey

uint32_t wallet::MetaPage::minkey

Definition at line 89 of file migrate.cpp.

◆ other_endian

bool wallet::MetaPage::other_endian

Definition at line 99 of file migrate.cpp.

◆ page_num

uint32_t wallet::MetaPage::page_num

Definition at line 73 of file migrate.cpp.

◆ pagesize

uint32_t wallet::MetaPage::pagesize

Definition at line 76 of file migrate.cpp.

◆ partitions

uint32_t wallet::MetaPage::partitions

Definition at line 83 of file migrate.cpp.

◆ re_len

uint32_t wallet::MetaPage::re_len

Definition at line 90 of file migrate.cpp.

◆ re_pad

uint32_t wallet::MetaPage::re_pad

Definition at line 91 of file migrate.cpp.

◆ record_count

uint32_t wallet::MetaPage::record_count

Definition at line 85 of file migrate.cpp.

◆ root

uint32_t wallet::MetaPage::root

Definition at line 92 of file migrate.cpp.

◆ trash

char wallet::MetaPage::trash[12]

Definition at line 95 of file migrate.cpp.

◆ type

PageType wallet::MetaPage::type

Definition at line 78 of file migrate.cpp.

◆ uid

std::array<std::byte, 20> wallet::MetaPage::uid

Definition at line 87 of file migrate.cpp.

◆ unused1

uint8_t wallet::MetaPage::unused1

Definition at line 80 of file migrate.cpp.

◆ unused2

uint32_t wallet::MetaPage::unused2

Definition at line 88 of file migrate.cpp.

◆ unused3

char wallet::MetaPage::unused3[368]

Definition at line 93 of file migrate.cpp.

◆ version

uint32_t wallet::MetaPage::version

Definition at line 75 of file migrate.cpp.


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