Module zebrad::components::inbound::cached_peer_addr_response
source · Expand description
Periodically-refreshed GetAddr response for the inbound service.
Used to avoid giving out Zebra’s entire address book over a short duration.
Structs§
- Caches and refreshes a partial list of peer addresses to be returned as a
GetAddr
response.
Constants§
- The minimum duration that a
CachedPeerAddrResponse
is considered fresh before the inbound service should get new peer addresses from the address book to send as aGetAddr
response.