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§

source

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

Trait Implementations§

source§

impl<Block: BlockT, H256Le> RuntimeApiInfo for dyn BtcRelayApi<Block, H256Le>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§