Crate reth_stages_api

Source
Expand description

Staged syncing primitives for reth.

§Feature Flags

  • test-utils: Utilities for testing

Modules§

test_utilstest-utils

Structs§

AccountHashingCheckpoint
Saves the progress of AccountHashing stage.
CheckpointBlockRange
Saves the block range. Usually, it’s used to check the validity of some stage checkpoint across multiple executions.
EntitiesCheckpoint
Saves the progress of abstract stage iterating over or downloading entities.
ExecInput
Stage execution input, see Stage::execute.
ExecOutput
The output of a stage execution.
ExecutionCheckpoint
Saves the progress of Execution stage.
ExecutionStageThresholds
The thresholds at which the execution stage writes state changes to the database.
HeadersCheckpoint
Saves the progress of Headers stage.
IndexHistoryCheckpoint
Saves the progress of Index History stages.
MerkleCheckpoint
Saves the progress of Merkle stage.
MetricsListener
Metrics routine that listens to new metric events on the events_rx receiver. Upon receiving new event, related metrics are updated.
Pipeline
A staged sync pipeline.
PipelineBuilder
Builds a Pipeline.
PipelineStagesProgress
Pipeline stages progress.
StageCheckpoint
Saves the progress of a stage.
StageSetBuilder
Helper to create and configure a StageSet.
StorageHashingCheckpoint
Saves the progress of StorageHashing stage.
UnwindInput
Stage unwind input, see Stage::unwind.
UnwindOutput
The output of a stage unwinding.

Enums§

BlockErrorKind
Represents the specific error type within a block error.
ControlFlow
Determines the control flow during pipeline execution.
MetricEvent
Collection of metric events.
PipelineError
A pipeline execution error.
PipelineEvent
An event emitted by a Pipeline.
PipelineTarget
Direction and target block for pipeline operations.
StageError
A stage execution error.
StageId
Stage IDs for all known stages.
StageUnitCheckpoint
Stage-specific checkpoint metrics.

Traits§

Stage
A stage is a segmented part of the syncing process of the node.
StageExt
Stage trait extension.
StageSet
Combines multiple Stages into a single unit.

Type Aliases§

MetricEventsSender
Alias type for metric producers to use.
PipelineFut
The future that returns the owned pipeline and the result of the pipeline run. See Pipeline::run_as_fut.
PipelineWithResult
The pipeline type itself with the result of Pipeline::run_as_fut