Module peer_cache_updater

Source
Expand description

An async task that regularly updates the peer cache on disk from the current address book.

Functions§

cacheable_peers 🔒
Returns a list of cacheable peers, blocking for as short a time as possible.
peer_cache_updater
An ongoing task that regularly caches the current address_book to disk, based on config.
update_peer_cache_once
Caches peers from the current address_book to disk, based on config.