pub fn check_finality_proof<Block: BlockT<Hash=H256>, C>(
	check_execution_proof: C,
	parent_header: Block::Header,
	block: (NumberFor<Block>, Block::Hash),
	set_id: u64,
	remote_proof: Vec<u8>,
) -> ClientResult<Vec<Block::Header>>
	where
		NumberFor<Block>: grandpa::BlockNumberOps,
		C: Fn(&RemoteCallRequest<Block::Header>) -> ClientResult<Vec<u8>>,
{
	do_check_finality_proof::<Block, C, GrandpaJustification<Block>>(
		check_execution_proof,
		parent_header,
		block,
		set_id,
		remote_proof,
	)
}
/// Check proof-of-finality for the given block.
///
/// Returns the vector of headers (including `block` header, ordered by ASC block number) that MUST be
/// validated + imported at once (i.e. within single db transaction). If at least one of those headers
/// is invalid, all other MUST be considered invalid.
Check proof-of-finality for the given block.
Returns the vector of headers (including `block` header, ordered by ASC block number) that MUST be
validated + imported at once . If at least one of those headers
is invalid, all other MUST be considered invalid.
Check proof - of - finality for the given block . Returns the vector of headers ( including ` block ` header ordered by ASC block number ) that MUST be validated + imported at once . If at least one of those headers is invalid all other MUST be considered invalid .
pub fn check_finality_proof<Block: BlockT<Hash=H256>, C>(
	check_execution_proof: C,
	parent_header: Block::Header,
	block: (NumberFor<Block>, Block::Hash),
	set_id: u64,
	remote_proof: Vec<u8>,
) -> ClientResult<Vec<Block::Header>>
	where
		NumberFor<Block>: grandpa::BlockNumberOps,
		C: Fn(&RemoteCallRequest<Block::Header>) -> ClientResult<Vec<u8>>,
{
	do_check_finality_proof::<Block, C, GrandpaJustification<Block>>(
		check_execution_proof,
		parent_header,
		block,
		set_id,
		remote_proof,
	)
}
pub fn check_finality_proof < Block : BlockT < Hash = H256 > , C > ( check_execution_proof : C , parent_header : Block :: Header , block : ( NumberFor < Block > , Block :: Hash ) , set_id : u64 , remote_proof : Vec < u8 > , ) -> ClientResult < Vec < Block :: Header > > where NumberFor < Block > : grandpa :: BlockNumberOps , C : Fn ( & RemoteCallRequest < Block :: Header > ) -> ClientResult < Vec < u8 > > , { do_check_finality_proof :: < Block , C , GrandpaJustification < Block > > ( check_execution_proof , parent_header , block , set_id , remote_proof , ) }
Check proof-of-finality for the given block.
Check proof - of - finality for the given block .
check_execution_proof
C
parent_header
Block::Header
block
(NumberFor<Block>, Block::Hash)
set_id
u64
remote_proof
Vec<u8>
check_execution_proof
C
parent_header
Block::Header
block
(NumberFor<Block>, Block::Hash)
set_id
u64
remote_proof
Vec<u8>