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::Primitives, Error = ConsensusError>>,
max_block: Option<u64>,
metrics_tx: MetricEventsSender,
prune_config: Option<PruneConfig>,
static_file_producer: StaticFileProducer<ProviderFactory<N>>,
evm_config: Evm,
exex_manager_handle: ExExManagerHandle<N::Primitives>,
) -> Result<Pipeline<N>>where
N: ProviderNodeTypes,
H: HeaderDownloader<Header = HeaderTy<N>> + 'static,
B: BodyDownloader<Block = BlockTy<N>> + 'static,
Evm: ConfigureEvm<Primitives = N::Primitives> + 'static,
Expand description
Builds the [Pipeline] with the given [ProviderFactory
] and downloaders.