pub trait ImportQueueService<B: BlockT>: Send {
    fn import_blocks(
        &mut self,
        origin: BlockOrigin,
        blocks: Vec<IncomingBlock<B>>
    ); fn import_justifications(
        &mut self,
        who: RuntimeOrigin,
        hash: B::Hash,
        number: NumberFor<B>,
        justifications: Justifications
    ); }
Expand description

Blocks import queue API.

The import_* methods can be called in order to send elements for the import queue to verify.

Required Methods§

Import bunch of blocks.

Import block justifications.

Implementors§