referrerpolicy=no-referrer-when-downgrade

start_collator_discovery

Function start_collator_discovery 

Source
pub fn start_collator_discovery<Block, Client, AD, NetEventStream>(
    params: StartCollatorDiscoveryParams<Block, Client, AD, NetEventStream>,
) -> Result<(), PrometheusError>
where Block: BlockT + Unpin + 'static, Client: HeaderBackend<Block> + ProvideRuntimeApi<Block> + Send + Sync + 'static, Client::Api: ApiExt<Block>, AD: AuthorityDiscovery<Block> + Send + Sync + 'static, NetEventStream: Stream<Item = Event> + Send + Unpin + 'static,
Expand description

Spawn the authority-discovery worker and the parachain reserved-peer refresh task.

Only call this on collators with max_reserved > 0.