reth_node_builder::setup

Function build_networked_pipeline

Source
pub fn build_networked_pipeline<N, Client, Executor>(
    config: &StageConfig,
    client: Client,
    consensus: Arc<dyn Consensus>,
    provider_factory: ProviderFactory<N>,
    task_executor: &TaskExecutor,
    metrics_tx: MetricEventsSender,
    prune_config: Option<PruneConfig>,
    max_block: Option<BlockNumber>,
    static_file_producer: StaticFileProducer<ProviderFactory<N>>,
    executor: Executor,
    exex_manager_handle: ExExManagerHandle,
) -> Result<Pipeline<N>>
where N: ProviderNodeTypes, Client: EthBlockClient + 'static, Executor: BlockExecutorProvider,
Expand description

Constructs a [Pipeline] that’s wired to the network