Function sc_service::chain_ops::import_blocks[][src]

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

Starts the process of importing blocks.