pub fn new<V: 'static + Verifier<B>>(
		verifier: Arc<V>,
		block_import: SharedBlockImport<B>,
		justification_import: Option<SharedJustificationImport<B>>
	) -> Self {
		let (result_sender, result_port) = channel::unbounded();
		let worker_sender = BlockImportWorker::new(result_sender, verifier, block_import);
		let importer_sender = BlockImporter::new(result_port, worker_sender, justification_import);

		Self {
			sender: importer_sender,
		}
	}
/// Instantiate a new basic queue, with given verifier.
Instantiate a new basic queue, with given verifier.
Instantiate a new basic queue with given verifier .
pub fn new<V: 'static + Verifier<B>>(
		verifier: Arc<V>,
		block_import: SharedBlockImport<B>,
		justification_import: Option<SharedJustificationImport<B>>
	) -> Self {
		let (result_sender, result_port) = channel::unbounded();
		let worker_sender = BlockImportWorker::new(result_sender, verifier, block_import);
		let importer_sender = BlockImporter::new(result_port, worker_sender, justification_import);
		Self {
			sender: importer_sender,
		}
	}
pub fn new < V : ' static + Verifier < B > > ( verifier : Arc < V > , block_import : SharedBlockImport < B > , justification_import : Option < SharedJustificationImport < B > > ) -> Self { let ( result_sender , result_port ) = channel :: unbounded ( ) ; let worker_sender = BlockImportWorker :: new ( result_sender , verifier , block_import ) ; let importer_sender = BlockImporter :: new ( result_port , worker_sender , justification_import ) ; Self { sender : importer_sender , } }
Instantiate a new basic queue, with given verifier.
Instantiate a new basic queue with given verifier .
verifier
Arc<V>
block_import
SharedBlockImport<B>
justification_import
Option<SharedJustificationImport<B>>
verifier
Arc<V>
block_import
SharedBlockImport<B>
justification_import
Option<SharedJustificationImport<B>>