zebra/zebra-network/src/peer.rs

19 lines
506 B
Rust
Raw Normal View History

//! Peer handling.
/// Handles outbound requests from our node to the network.
mod client;
/// Wrapper around handshake logic that also opens a TCP connection.
mod connector;
/// Peer-related errors.
mod error;
/// Performs peer handshakes.
mod handshake;
/// Handles inbound requests from the network to our node.
mod server;
2019-11-27 11:27:17 -08:00
pub use client::Client;
pub use connector::PeerConnector;
pub use error::{HandshakeError, PeerError, SharedPeerError};
pub use handshake::PeerHandshake;
2019-11-27 11:31:35 -08:00
pub use server::Server;