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

A generic data page in the database. More...

Public Member Functions

 PageHeader (uint32_t page_num, bool other_endian)
 
 PageHeader ()=delete
 
template<typename Stream >
void Unserialize (Stream &s)
 

Public Attributes

uint32_t lsn_file
 
uint32_t lsn_offset
 
uint32_t page_num
 
uint32_t prev_page
 
uint32_t next_page
 
uint16_t entries
 
uint16_t hf_offset
 
uint8_t level
 
PageType type
 
uint32_t expected_page_num
 
bool other_endian
 

Static Public Attributes

static constexpr int64_t SIZE = 26
 

Detailed Description

A generic data page in the database.

Contains fields common to all data pages.

Definition at line 317 of file migrate.cpp.

Constructor & Destructor Documentation

◆ PageHeader() [1/2]

wallet::PageHeader::PageHeader ( uint32_t  page_num,
bool  other_endian 
)
inline

Definition at line 335 of file migrate.cpp.

◆ PageHeader() [2/2]

wallet::PageHeader::PageHeader ( )
delete

Member Function Documentation

◆ Unserialize()

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

Definition at line 339 of file migrate.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ entries

uint16_t wallet::PageHeader::entries

Definition at line 325 of file migrate.cpp.

◆ expected_page_num

uint32_t wallet::PageHeader::expected_page_num

Definition at line 332 of file migrate.cpp.

◆ hf_offset

uint16_t wallet::PageHeader::hf_offset

Definition at line 326 of file migrate.cpp.

◆ level

uint8_t wallet::PageHeader::level

Definition at line 327 of file migrate.cpp.

◆ lsn_file

uint32_t wallet::PageHeader::lsn_file

Definition at line 320 of file migrate.cpp.

◆ lsn_offset

uint32_t wallet::PageHeader::lsn_offset

Definition at line 321 of file migrate.cpp.

◆ next_page

uint32_t wallet::PageHeader::next_page

Definition at line 324 of file migrate.cpp.

◆ other_endian

bool wallet::PageHeader::other_endian

Definition at line 333 of file migrate.cpp.

◆ page_num

uint32_t wallet::PageHeader::page_num

Definition at line 322 of file migrate.cpp.

◆ prev_page

uint32_t wallet::PageHeader::prev_page

Definition at line 323 of file migrate.cpp.

◆ SIZE

constexpr int64_t wallet::PageHeader::SIZE = 26
staticconstexpr

Definition at line 330 of file migrate.cpp.

◆ type

PageType wallet::PageHeader::type

Definition at line 328 of file migrate.cpp.


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