Function sc_service::chain_ops::export_blocks[][src]

pub fn export_blocks<B, C>(
    client: Arc<C>,
    output: impl Write + 'static,
    from: NumberFor<B>,
    to: Option<NumberFor<B>>,
    binary: bool
) -> Pin<Box<dyn Future<Output = Result<(), Error>>>> where
    C: BlockBackend<B> + UsageProvider<B> + 'static,
    B: BlockT

Performs the blocks export.