Expand description
Block types and the wrappers that pair them with their execution outcomes.
Structs§
- Block
- Block defines the atomic unit of growth of the Linera chain.
- Block
Body - The body of a block containing all the data included in the block.
- Block
Header - Succinct representation of a block. Contains all the metadata to follow the chain of blocks or verifying inclusion (event, message, oracle response, etc.) in the block’s body.
- Confirmed
Block - Wrapper around a
Blockthat has been confirmed. - Previous
Event Blocks Map - Hashable wrapper around the lookup table mapping each stream to the previous block that published events to it.
- Previous
Message Blocks Map - Hashable wrapper around the lookup table mapping each recipient chain to the previous block that sent it messages.
- Timeout
- A request to move on to the next consensus round, certified when no block is confirmed in time.
- Validated
Block - Wrapper around a
Blockthat has been validated.
Enums§
- Block
Body Field - A single field of a
BlockBody, paired with enough data to recompute its hash and check it against the matching hash in aBlockHeader. This lets a holder of a header prove that one body field belongs to the block without the rest of the body. - Conversion
Error - Failure to convert a
Certificateinto one of the expected certificate types.