Function build_pipeline

Source
pub fn build_pipeline<N, H, B, Evm>(
    provider_factory: ProviderFactory<N>,
    stage_config: &StageConfig,
    header_downloader: H,
    body_downloader: B,
    consensus: Arc<dyn FullConsensus<<N as NodeTypes>::Primitives, Error = ConsensusError>>,
    max_block: Option<u64>,
    metrics_tx: UnboundedSender<MetricEvent>,
    prune_config: Option<PruneConfig>,
    static_file_producer: StaticFileProducer<ProviderFactory<N>>,
    evm_config: Evm,
    exex_manager_handle: ExExManagerHandle<<N as NodeTypes>::Primitives>,
) -> Result<Pipeline<N>, Report>
where N: ProviderNodeTypes, H: HeaderDownloader<Header = <<N as NodeTypes>::Primitives as NodePrimitives>::BlockHeader> + 'static, B: BodyDownloader<Block = <<N as NodeTypes>::Primitives as NodePrimitives>::Block> + 'static, Evm: ConfigureEvm<Primitives = <N as NodeTypes>::Primitives> + 'static,
Expand description

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