Function sc_consensus::import_queue::import_single_block [−][src]
pub async fn import_single_block<B: BlockT, V: Verifier<B>, Transaction: Send + 'static>(
import_handle: &mut impl BlockImport<B, Transaction = Transaction, Error = ConsensusError>,
block_origin: BlockOrigin,
block: IncomingBlock<B>,
verifier: &mut V
) -> Result<BlockImportStatus<NumberFor<B>>, BlockImportError>
Expand description
Single block import function.