fedimint_server::net::api::announcement

Function get_api_urls

Source
pub async fn get_api_urls(
    db: &Database,
    cfg: &ServerConfigConsensus,
) -> BTreeMap<PeerId, SafeUrl>
Expand description

Returns a list of all peers and their respective API URLs taking into account announcements overwriting the URLs contained in the original configuration.