domain_client_message_relayer::worker

Function gossip_channel_updates

source
pub async fn gossip_channel_updates<Client, Block, CBlock, SO>(
    chain_id: ChainId,
    client: Arc<Client>,
    sync_oracle: SO,
    gossip_message_sink: GossipMessageSink,
)
where Block: BlockT, CBlock: BlockT, Client: BlockchainEvents<Block> + HeaderBackend<Block> + AuxStore + ProofProvider<Block> + ProvideRuntimeApi<Block>, Client::Api: RelayerApi<Block, NumberFor<Block>, NumberFor<CBlock>, CBlock::Hash>, SO: SyncOracle,