pub trait BtcRelayApi<Block: BlockT, H256Le>: Core<Block>where
H256Le: Codec,{
// Provided method
fn verify_block_header_inclusion(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
block_hash: H256Le
) -> Result<Result<(), DispatchError>, ApiError> { ... }
}
Provided Methods§
sourcefn verify_block_header_inclusion(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
block_hash: H256Le
) -> Result<Result<(), DispatchError>, ApiError>
fn verify_block_header_inclusion( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, block_hash: H256Le ) -> Result<Result<(), DispatchError>, ApiError>
Verify that the block with the given block hash is relayed, has sufficient confirmations and is part of the main chain