Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
interfaces::BlockInfo Struct Reference

Block data sent with blockConnected, blockDisconnected notifications. More...

#include <chain.h>

Collaboration diagram for interfaces::BlockInfo:
[legend]

Public Member Functions

 BlockInfo (const uint256 &hash LIFETIMEBOUND)

Public Attributes

const uint256hash
const uint256prev_hash = nullptr
int height = -1
int file_number = -1
unsigned data_pos = 0
const CBlockdata = nullptr
const CBlockUndoundo_data = nullptr
unsigned int chain_time_max {0}

Detailed Description

Block data sent with blockConnected, blockDisconnected notifications.

Definition at line 19 of file chain.h.

Constructor & Destructor Documentation

◆ BlockInfo()

interfaces::BlockInfo::BlockInfo ( const uint256 &hash LIFETIMEBOUND)
inline

Definition at line 31 of file chain.h.

Member Data Documentation

◆ chain_time_max

unsigned int interfaces::BlockInfo::chain_time_max {0}

Definition at line 29 of file chain.h.

◆ data

const CBlock* interfaces::BlockInfo::data = nullptr

Definition at line 25 of file chain.h.

◆ data_pos

unsigned interfaces::BlockInfo::data_pos = 0

Definition at line 24 of file chain.h.

◆ file_number

int interfaces::BlockInfo::file_number = -1

Definition at line 23 of file chain.h.

◆ hash

const uint256& interfaces::BlockInfo::hash

Definition at line 20 of file chain.h.

◆ height

int interfaces::BlockInfo::height = -1

Definition at line 22 of file chain.h.

◆ prev_hash

const uint256* interfaces::BlockInfo::prev_hash = nullptr

Definition at line 21 of file chain.h.

◆ undo_data

const CBlockUndo* interfaces::BlockInfo::undo_data = nullptr

Definition at line 26 of file chain.h.


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