referrerpolicy=no-referrer-when-downgrade

Function sc_service::chain_ops::export_blocks

source ·
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: HeaderBackend<B> + BlockBackend<B> + UsageProvider<B> + 'static, B: BlockT,
Expand description

Performs the blocks export.