Expand description
Peer connection handling.
Re-exportsΒ§
pub use client::tests::ClientTestHarness;
pub use client::Client;
pub use connection::Connection;
pub use connector::Connector;
pub use connector::OutboundConnectorRequest;
pub use error::ErrorSlot;
pub use error::HandshakeError;
pub use error::PeerError;
pub use handshake::ConnectedAddr;
pub use handshake::ConnectionInfo;
pub use handshake::Handshake;
pub use handshake::HandshakeRequest;
pub use load_tracked_client::LoadTrackedClient;
pub use minimum_peer_version::MinimumPeerVersion;
pub use priority::address_is_valid_for_inbound_listeners;
pub use priority::address_is_valid_for_outbound_connections;
pub use priority::AttributePreference;
pub use priority::PeerPreference;
ModulesΒ§
- client π
- Handles outbound requests from our node to the network.
- connection π
- Zebraβs per-peer connection state machine.
- connector π
- Wrapper around handshake logic that also opens a TCP connection.
- error π
- Peer-related errors.
- handshake π
- Initial
Handshake
s with Zebra peers over aPeerTransport
. - load_
tracked_ πclient - A peer connection service wrapper type to handle load tracking and provide access to the reported protocol version.
- minimum_
peer_ πversion - Watches for chain tip height updates to determine the minimum supported peer protocol version.
- priority π
- Prioritizing outbound peer connections based on peer attributes.