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.
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. - Book
Stats - Counts reported in overlay status.
reachedentries succeeded and have not failed since;reached_everentries succeeded at least once. - Peer
Address - A syntactically validated routing hint with an explicit matching identity. Validation establishes neither reachability nor trust in the named peer.
- 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.