Skip to main content

Module discovery_cache

Module discovery_cache 

Source
Expand description

Peer Discovery Cache

Caches peer discovery results from multiple sources (DHT, mDNS, bootstrap, relay) to reduce redundant lookups and enable offline-resilient reconnection.

Structs§

DiscoveryCacheStats
Aggregate statistics for the discovery cache.
PeerDiscoveryCache
Cache for peer discovery results with TTL and capacity management.
PeerRecord
A record representing a discovered peer and its connection history.

Enums§

DiscoverySource
Source from which a peer was discovered.