Expand description
This module contains each stage of the derivation pipeline.
It offers a high-level API to functionally apply each stage’s output as an input to the next stage, until finally arriving at the produced execution payloads.
Stages:
- L1 Traversal
- L1 Retrieval
- Frame Queue
- Channel Provider
- Channel Reader (Batch Decoding)
- Batch Stream (Introduced in the Holocene Hardfork)
- Batch Queue
- Payload Attributes Derivation
- (Omitted) Engine Queue
Structs§
- AttributesQueue accepts batches from the BatchQueue stage and transforms them into OpPayloadAttributes.
- BatchQueue is responsible for o rdering unordered batches and gnerating empty batches when the sequence window has passed.
- BatchStream stage in the derivation pipeline.
- The BatchValidator stage is responsible for validating the SingleBatches from the BatchStream AttributesQueue’s consumption.
- The ChannelAssembler stage is responsible for assembling the Frames from the FrameQueue stage into a raw compressed Channel.
- ChannelBank is a stateful stage that does the following:
- The FrameQueue stage of the derivation pipeline. This stage takes the output of the L1Retrieval stage and parses it into frames.
- The L1Retrieval stage of the derivation pipeline.
- The L1Traversal stage of the derivation pipeline.
Traits§
- Provides Batches for the BatchStream stage.
- The ChannelReader provider trait.
- Provides data frames for the FrameQueue stage.
- Provides L1 blocks for the L1Retrieval stage. This is the previous stage in the pipeline.
- Provides frames for the ChannelBank and ChannelAssembler stages.
Functions§
- Decompresses the given bytes data using the Brotli decompressor implemented in the
brotli
crate.