pub fn build_import_pipeline<N, C, E>(
config: &Config,
provider_factory: ProviderFactory<N>,
consensus: &Arc<C>,
file_client: Arc<FileClient<BlockTy<N>>>,
static_file_producer: StaticFileProducer<ProviderFactory<N>>,
disable_exec: bool,
executor: E,
) -> Result<(Pipeline<N>, impl Stream<Item = NodeEvent<N::Primitives>>)>where
N: ProviderNodeTypes + CliNodeTypes,
C: Consensus<HeaderTy<N>, BodyTy<N>> + 'static,
E: BlockExecutorProvider<Primitives = N::Primitives>,
Expand description
Builds import pipeline.
If configured to execute, all stages will run. Otherwise, only stages that don’t require state will run.