mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 16:48:13 -05:00
docs: add list of all stages (#2826)
This commit is contained in:
@@ -82,6 +82,10 @@ pub type PipelineWithResult<DB> = (Pipeline<DB>, Result<ControlFlow, PipelineErr
|
||||
/// In case of a validation error (as determined by the consensus engine) in one of the stages, the
|
||||
/// pipeline will unwind the stages in reverse order of execution. It is also possible to
|
||||
/// request an unwind manually (see [Pipeline::unwind]).
|
||||
///
|
||||
/// # Defaults
|
||||
///
|
||||
/// The [DefaultStages](crate::sets::DefaultStages) are used to fully sync reth.
|
||||
pub struct Pipeline<DB: Database> {
|
||||
/// The Database
|
||||
db: DB,
|
||||
|
||||
@@ -61,6 +61,20 @@ use std::sync::Arc;
|
||||
/// - [`OnlineStages`]
|
||||
/// - [`OfflineStages`]
|
||||
/// - [`FinishStage`]
|
||||
///
|
||||
/// This expands to the following series of stages:
|
||||
/// - [`HeaderStage`]
|
||||
/// - [`BodyStage`]
|
||||
/// - [`SenderRecoveryStage`]
|
||||
/// - [`ExecutionStage`]
|
||||
/// - [`MerkleStage`] (unwind)
|
||||
/// - [`AccountHashingStage`]
|
||||
/// - [`StorageHashingStage`]
|
||||
/// - [`MerkleStage`] (execution)
|
||||
/// - [`TransactionLookupStage`]
|
||||
/// - [`IndexStorageHistoryStage`]
|
||||
/// - [`IndexAccountHistoryStage`]
|
||||
/// - [`FinishStage`]
|
||||
#[derive(Debug)]
|
||||
pub struct DefaultStages<H, B, EF> {
|
||||
/// Configuration for the online stages
|
||||
|
||||
Reference in New Issue
Block a user