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<Client::Header, Client::Body>>,
    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<N::Primitives>,
) -> Result<Pipeline<N>>
where N: ProviderNodeTypes, Client: BlockClient<Header = HeaderTy<N>, Body = BodyTy<N>> + 'static, Executor: BlockExecutorProvider<Primitives = N::Primitives>,
Expand description

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