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.