sgns::primitives::BlockData¶
#include <block_data.hpp>
Public Functions¶
| Name | |
|---|---|
| boost::optional< primitives::Block > | toBlock() const |
Public Attributes¶
| Name | |
|---|---|
| primitives::BlockHash | hash |
| boost::optional< primitives::BlockHeader > | header |
| boost::optional< primitives::BlockBody > | body |
| boost::optional< base::Buffer > | receipt |
| boost::optional< base::Buffer > | message_queue |
| boost::optional< primitives::Justification > | justification |
Detailed Description¶
Data, describing the block. Used for example in BlockRequest, where we need to get certain information about the block
Public Functions Documentation¶
function toBlock¶
Return: block, if at least header exists in this BlockData, nothing otherwise
Convert a block data into the block
Public Attributes Documentation¶
variable hash¶
variable header¶
variable body¶
variable receipt¶
variable message_queue¶
variable justification¶
Updated on 2026-03-04 at 13:10:43 -0800