Skip to main content

Module peer_cache_updater

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 from the address book updater task.
peer_cache_updater
An ongoing task that regularly caches the current peers to disk, based on config.
update_peer_cache_once
Caches the current cacheable peers to disk, based on config.