Expand description
The adddress prober periodically checks addresses of trusted peers for connectability, reported via Prometheus metrics.
- P2P:
anemo::Network::probe_address, which verifies reachability + the peer’sPeerIdwithout joining the peer set or disturbing any existing connection. - Consensus: a throwaway tonic+rustls
connect()replicating the real consensus client TLS (expected network key,consensus_epoch_{epoch}server name, our network key as the client cert). Only a current committee member can complete this handshake.
Structs§
- Address
Prober Metrics - Builder
- Handle
- Handle to the address prober. Dropping all clones closes the mailbox and the event loop shuts down. Holds the metrics so tests can read them.
- Probe
Address Report - Latest probe result for a single concrete address.
- Probe
Group Report - Latest probe outcome for one
(peer, endpoint_type, source)group. - Probe
Report - A point-in-time snapshot of the prober’s latest results, served by the admin endpoint.
- Prober
Epoch Context - Epoch-scoped inputs to the prober.
- Unstarted
Address Prober - A built-but-not-started prober: holds the runtime-independent state until
startinjects the network/discovery/keypair and spawns the event loop.