Module 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§

CachedPeerAddrResponse
Caches and refreshes a partial list of peer addresses to be returned as a GetAddr response.

Constants§

CACHED_ADDRS_REFRESH_INTERVAL
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 a GetAddr response.