Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::building_block Struct Reference
Collaboration diagram for sysio::chain::building_block:

Public Member Functions

 building_block (const block_header_state &prev, block_timestamp_type when, uint16_t num_prev_blocks_to_confirm, const vector< digest_type > &new_protocol_feature_activations)
 

Public Attributes

pending_block_header_state _pending_block_header_state
 
std::optional< producer_authority_schedule_new_pending_producer_schedule
 
vector< digest_type_new_protocol_feature_activations
 
size_t _num_new_protocol_features_that_have_activated = 0
 
vector< transaction_metadata_ptr_pending_trx_metas
 
vector< transaction_receipt_pending_trx_receipts
 
vector< digest_type_action_receipt_digests
 
std::optional< checksum256_type_transaction_mroot
 
std::optional< s_header_s_header
 

Detailed Description

Definition at line 111 of file controller.cpp.

Constructor & Destructor Documentation

◆ building_block()

sysio::chain::building_block::building_block ( const block_header_state & prev,
block_timestamp_type when,
uint16_t num_prev_blocks_to_confirm,
const vector< digest_type > & new_protocol_feature_activations )
inline

Definition at line 112 of file controller.cpp.

116 :_pending_block_header_state( prev.next( when, num_prev_blocks_to_confirm ) )
117 ,_new_protocol_feature_activations( new_protocol_feature_activations )
118 {}
vector< digest_type > _new_protocol_feature_activations
pending_block_header_state _pending_block_header_state

Member Data Documentation

◆ _action_receipt_digests

vector<digest_type> sysio::chain::building_block::_action_receipt_digests

Definition at line 126 of file controller.cpp.

◆ _new_pending_producer_schedule

std::optional<producer_authority_schedule> sysio::chain::building_block::_new_pending_producer_schedule

Definition at line 121 of file controller.cpp.

◆ _new_protocol_feature_activations

vector<digest_type> sysio::chain::building_block::_new_protocol_feature_activations

Definition at line 122 of file controller.cpp.

◆ _num_new_protocol_features_that_have_activated

size_t sysio::chain::building_block::_num_new_protocol_features_that_have_activated = 0

Definition at line 123 of file controller.cpp.

◆ _pending_block_header_state

pending_block_header_state sysio::chain::building_block::_pending_block_header_state

Definition at line 120 of file controller.cpp.

◆ _pending_trx_metas

vector<transaction_metadata_ptr> sysio::chain::building_block::_pending_trx_metas

Definition at line 124 of file controller.cpp.

◆ _pending_trx_receipts

vector<transaction_receipt> sysio::chain::building_block::_pending_trx_receipts

Definition at line 125 of file controller.cpp.

◆ _s_header

std::optional<s_header> sysio::chain::building_block::_s_header

Definition at line 128 of file controller.cpp.

◆ _transaction_mroot

std::optional<checksum256_type> sysio::chain::building_block::_transaction_mroot

Definition at line 127 of file controller.cpp.


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