fetch_guardian_metadata_from_at_least_num_of_peers

Function fetch_guardian_metadata_from_at_least_num_of_peers 

Source
pub(crate) async fn fetch_guardian_metadata_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, SignedGuardianMetadata>>
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.