Bitcoin Core  24.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:

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

Detailed Description

Block data sent with blockConnected, blockDisconnected notifications.

Definition at line 81 of file chain.h.

Constructor & Destructor Documentation

◆ BlockInfo()

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

Definition at line 90 of file chain.h.

Member Data Documentation

◆ data

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

Definition at line 87 of file chain.h.

◆ data_pos

unsigned interfaces::BlockInfo::data_pos = 0

Definition at line 86 of file chain.h.

◆ file_number

int interfaces::BlockInfo::file_number = -1

Definition at line 85 of file chain.h.

◆ hash

const uint256& interfaces::BlockInfo::hash

Definition at line 82 of file chain.h.

◆ height

int interfaces::BlockInfo::height = -1

Definition at line 84 of file chain.h.

◆ prev_hash

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

Definition at line 83 of file chain.h.

◆ undo_data

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

Definition at line 88 of file chain.h.

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