pub trait BlockImport<B>: Send + 'static {
    // Required method
    fn import_block(&mut self, block: B);
}
Expand description

The block importer.

Required Methods§

source

fn import_block(&mut self, block: B)

Import the block.

Implementors§

source§

impl BlockImport<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>> for BlockImporter