commonware_p2p/authenticated/mod.rs
1//! Communicate with a fixed set of authenticated peers over encrypted connections.
2//!
3//! [discovery] operates under the assumption that peer addresses aren't known in
4//! advance, and that they need to be discovered. Bootstrappers are used to
5//! connect to the network and discover peers.
6//!
7//! [lookup] operates under the assumption that peer addresses are known in advance,
8//! and that they can be looked up by their identifiers.
9
10mod data;
11pub(crate) mod dialing;
12pub mod discovery;
13pub mod lookup;
14mod mailbox;
15pub use mailbox::{Mailbox, UnboundedMailbox};
16mod relay;