Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
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 84 of file chain.h.

Constructor & Destructor Documentation

◆ BlockInfo()

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

Definition at line 96 of file chain.h.

Member Data Documentation

◆ chain_time_max

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

Definition at line 94 of file chain.h.

◆ data

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

Definition at line 90 of file chain.h.

◆ data_pos

unsigned interfaces::BlockInfo::data_pos = 0

Definition at line 89 of file chain.h.

◆ file_number

int interfaces::BlockInfo::file_number = -1

Definition at line 88 of file chain.h.

◆ hash

const uint256& interfaces::BlockInfo::hash

Definition at line 85 of file chain.h.

◆ height

int interfaces::BlockInfo::height = -1

Definition at line 87 of file chain.h.

◆ prev_hash

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

Definition at line 86 of file chain.h.

◆ undo_data

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

Definition at line 91 of file chain.h.


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