pub(crate) async fn fetch_api_announcements_from_at_least_num_of_peers(
num_responses_required: usize,
api: &DynGlobalApi,
guardian_pub_keys: &BTreeMap<PeerId, PublicKey>,
extra_response_wait: Duration,
) -> Vec<BTreeMap<PeerId, SignedApiAnnouncement>>Expand description
Fetch responses from at least num_responses_required of peers.
Will wait a little bit extra in hopes of collecting more than strictly needed responses.