Expand description
Bounded peer book: explicit routing hints, configured seeds and addresses learned from peers. Every entry is an untrusted hint, never chain evidence or a statement of record availability. Nothing here resolves names, dials or starts networking; the caller owns the directory, its lock and saves.
Re-exports§
pub use crate::peer_address::PeerAddress;
Structs§
- Book
Entry - One peer (or one not yet identified seed address). Addresses are stored
without a terminal
/p2p; the identity lives inpeer_idonce learned. Circuit addresses are learned only from peers and always name the entry. QUIC addresses enter ahead of TCP, so the first dial of a peer is QUIC. - Book
Stats - Counts reported in overlay status.
reachedentries succeeded and have not failed since;reached_everentries succeeded at least once. - Peer
Book
Enums§
- Origin
- How a peer-book entry entered the book. Ordered by precedence: learning never downgrades an entry, and manual and seed entries are never evicted.