Expand description
Federation Api announcement handling
StructsΒ§
EnumsΒ§
- Fetch
ApiAnnouncements πError - Why a peerβs API announcements were not accepted.
FunctionsΒ§
- fetch_
api_ πannouncements_ from_ at_ least_ num_ of_ peers - Fetch responses from at least
num_responses_requiredof peers. - get_
api_ urls - Returns a list of all peers and their respective API URLs taking into account guardian metadata and API announcements overwriting the URLs contained in the original configuration.
- run_
api_ πannouncement_ refresh_ task - Fetches API URL announcements from guardians, validates them and updates the DB if any new more upt to date ones are found.
- store_
api_ πannouncement_ updates - store_
api_ πannouncements_ updates_ from_ peers