cross_domain_message_gossip

Function can_allow_xdm_submission

Source
pub fn can_allow_xdm_submission<Client, Block>(
    client: &Arc<Client>,
    xdm_id: XdmId,
    submitted_block_id: BlockId<Block>,
    current_block_id: BlockId<Block>,
    maybe_channel_nonce: Option<ChannelNonce>,
) -> bool
where Client: HeaderBackend<Block>, Block: BlockT,