Template Struct block_data_t#

Struct Documentation#

template<class params>
struct block_data_t#

The block information. (YP: \(H\)) It does NOT contains: the ommers or their hases (YP: \(U, H_{o}\)) the state root (YP: \(S, H_{r}\)) the transactions root (YP: \(T, H_{t}\)) the receipts root (YP: \(R, H_{e}\)) the logs bloom (YP: \(H_{b}\)) the gas used (YP: \(H_{g}\)) the extra data (YP: \(H_{x}\)) the mix hash (YP: \(H_{m}\)) the nonce (YP: \(H_{n}\))

Public Members

evm_word_t coin_base#

The address of the block miner (YP: \(H_{c}\))

evm_word_t difficulty#

The difficulty of the block (YP: \(H_{d}\))

evm_word_t number#

The number of the block (YP: \(H_{i}\))

evm_word_t gas_limit#

The gas limit of the block (YP: \(H_{l}\))

evm_word_t time_stamp#

The timestamp of the block (YP: \(H_{s}\))

evm_word_t base_fee#

The base fee of the block (YP: \(H_{f}\))

evm_word_t chain_id#

The chain id of the block

block_hash_t previous_blocks[256]#

The previous block hashes (YP: \(H_{p}\))