package com.hedera.hapi.node.state.blockstream

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message BlockStreamInfo

block_stream_info.proto:41

* A message stored in state to maintain block stream parameters.<br/> Nodes use this information for three purposes. 1. To maintain hash chain continuity at restart and reconnect boundaries. 1. To store historical hashes for implementation of the EVM `BLOCKHASH` and `PREVRANDAO` opcodes. 1. To track the amount of consensus time that has passed between blocks. This value MUST be updated for every block.<br/> This value MUST be transmitted in the "state changes" section of _each_ block, but MUST be updated at the beginning of the _next_ block.<br/> This value SHALL contain the block hash up to, and including, the immediately prior completed block.<br/> The state change to update this singleton MUST be the last block item in this block.