insert_signed_api_announcement_if_not_present

Function insert_signed_api_announcement_if_not_present 

Source
async fn insert_signed_api_announcement_if_not_present(
    db: &Database,
    cfg: &ServerConfig,
) -> bool
Expand description

Checks if we already have a signed API endpoint announcement for our own identity in the database and creates one if not.

Return true fresh announcements were inserted because it was not present