Module zebra_network::peer_cache_updater
source · Expand description
An async task that regularly updates the peer cache on disk from the current address book.
Functions§
- Returns a list of cacheable peers, blocking for as short a time as possible.
- An ongoing task that regularly caches the current
address_book
to disk, based onconfig
. - Caches peers from the current
address_book
to disk, based onconfig
.