referrerpolicy=no-referrer-when-downgrade

Function sc_service::chain_ops::import_blocks

source ·
pub fn import_blocks<B, IQ, C>(
    client: Arc<C>,
    import_queue: IQ,
    input: impl Read + Send + 'static,
    force: bool,
    binary: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>
where C: HeaderBackend<B> + Send + Sync + 'static, B: BlockT + for<'de> Deserialize<'de>, IQ: ImportQueue<B> + 'static,
Expand description

Starts the process of importing blocks.