reth_node_builder::setup

Function build_pipeline

Source
pub fn build_pipeline<N, H, B, Executor>(
    provider_factory: ProviderFactory<N>,
    stage_config: &StageConfig,
    header_downloader: H,
    body_downloader: B,
    consensus: Arc<dyn Consensus>,
    max_block: Option<u64>,
    metrics_tx: MetricEventsSender,
    prune_config: Option<PruneConfig>,
    static_file_producer: StaticFileProducer<ProviderFactory<N>>,
    executor: Executor,
    exex_manager_handle: ExExManagerHandle,
) -> Result<Pipeline<N>>
where N: ProviderNodeTypes, H: HeaderDownloader<Header = Header> + 'static, B: BodyDownloader<Body = <<N::Primitives as NodePrimitives>::Block as Block>::Body> + 'static, Executor: BlockExecutorProvider, N::Primitives: FullNodePrimitives<BlockBody = BlockBody>,
Expand description

Builds the [Pipeline] with the given ProviderFactory and downloaders.