pub fn finalize_block(&self, id: BlockId<Block>, justification: Option<Justification>, notify: bool) -> error::Result<()> {
		self.lock_import_and_run(|operation| {
			let last_best = self.backend.blockchain().info()?.best_hash;
			let to_finalize_hash = self.backend.blockchain().expect_block_hash_from_id(&id)?;
			self.apply_finality_with_block_hash(operation, to_finalize_hash, justification, last_best, notify)
		})
	}
/// Finalize a block. This will implicitly finalize all blocks up to it and
/// fire finality notifications.
///
/// Pass a flag to indicate whether finality notifications should be propagated.
/// This is usually tied to some synchronization state, where we don't send notifications
/// while performing major synchronization work.
Finalize a block. This will implicitly finalize all blocks up to it and
fire finality notifications.

Pass a flag to indicate whether finality notifications should be propagated.
This is usually tied to some synchronization state, where we don't send notifications
while performing major synchronization work.
Finalize a block . This will implicitly finalize all blocks up to it and fire finality notifications . Pass a flag to indicate whether finality notifications should be propagated . This is usually tied to some synchronization state where we don ' t send notifications while performing major synchronization work .
pub fn finalize_block(&self, id: BlockId<Block>, justification: Option<Justification>, notify: bool) -> error::Result<()> {
		self.lock_import_and_run(|operation| {
			let last_best = self.backend.blockchain().info()?.best_hash;
			let to_finalize_hash = self.backend.blockchain().expect_block_hash_from_id(&id)?;
			self.apply_finality_with_block_hash(operation, to_finalize_hash, justification, last_best, notify)
		})
	}
pub fn finalize_block ( & self , id : BlockId < Block > , justification : Option < Justification > , notify : bool ) -> error :: Result < ( ) > { self . lock_import_and_run ( | operation | { let last_best = self . backend . blockchain ( ) . info ( ) ? . best_hash ; let to_finalize_hash = self . backend . blockchain ( ) . expect_block_hash_from_id ( & id ) ? ; self . apply_finality_with_block_hash ( operation , to_finalize_hash , justification , last_best , notify ) } ) }
Finalize a block.
Finalize a block .
&self
id
BlockId<Block>
justification
Option<Justification>
notify
bool
&self
id
BlockId<Block>
justification
Option<Justification>
notify
bool