pub fn blocks_processed(&mut self, processed_blocks: Vec<B::Hash>, has_error: bool) {
		for hash in processed_blocks {
			self.queue_blocks.remove(&hash);
		}
		if has_error {
			self.best_importing_number = Zero::zero();
		}
	}
/// A batch of blocks have been processed, with or without errors.
A batch of blocks have been processed, with or without errors.
A batch of blocks have been processed with or without errors .
pub fn blocks_processed(&mut self, processed_blocks: Vec<B::Hash>, has_error: bool) {
		for hash in processed_blocks {
			self.queue_blocks.remove(&hash);
		}
		if has_error {
			self.best_importing_number = Zero::zero();
		}
	}
pub fn blocks_processed ( & mut self , processed_blocks : Vec < B :: Hash > , has_error : bool ) { for hash in processed_blocks { self . queue_blocks . remove ( & hash ) ; } if has_error { self . best_importing_number = Zero :: zero ( ) ; } }
A batch of blocks have been processed, with or without errors.
A batch of blocks have been processed with or without errors .
&mut self
processed_blocks
Vec<B::Hash>
has_error
bool
&mut self
processed_blocks
Vec<B::Hash>
has_error
bool