domain_client_message_relayer::workerFunction start_relaying_messages
source pub async fn start_relaying_messages<CClient, Client, CBlock, Block, SO>(
domain_id: DomainId,
consensus_client: Arc<CClient>,
domain_client: Arc<Client>,
confirmation_depth_k: NumberFor<CBlock>,
sync_oracle: SO,
gossip_message_sink: GossipMessageSink,
)where
Block: BlockT,
CBlock: BlockT,
Client: HeaderBackend<Block> + AuxStore + ProofProvider<Block> + ProvideRuntimeApi<Block>,
Client::Api: RelayerApi<Block, NumberFor<Block>, NumberFor<CBlock>, CBlock::Hash>,
CClient: BlockchainEvents<CBlock> + HeaderBackend<CBlock> + ProvideRuntimeApi<CBlock> + ProofProvider<CBlock> + AuxStore,
CClient::Api: DomainsApi<CBlock, Block::Header> + MessengerApi<CBlock, NumberFor<CBlock>, CBlock::Hash> + MmrApi<CBlock, H256, NumberFor<CBlock>> + RelayerApi<CBlock, NumberFor<CBlock>, NumberFor<CBlock>, CBlock::Hash>,
SO: SyncOracle +
Send,