Function centrifuge_chain::service::build_import_queue
source · pub fn build_import_queue<RuntimeApi>(
client: Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>,
block_import: ParachainBlockImport<Block, Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, TFullBackend<Block>>,
config: &Configuration,
telemetry: Option<TelemetryHandle>,
task_manager: &TaskManager,
frontier_backend: Backend<Block>,
first_evm_block: BlockNumber
) -> Result<DefaultImportQueue<Block>, Error>where
RuntimeApi: ConstructRuntimeApi<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>> + Send + Sync + 'static,
RuntimeApi::RuntimeApi: RuntimeApiCollection,
Expand description
Builds a generic import queue. The runtime is specified via the generics.
NOTE: Almost entirely taken from Polkadot SDK.