Crate reth_network_types

Source
Expand description

Commonly used networking types.

§Feature Flags

  • serde (default): Enable serde support

Re-exports§

pub use peers::reputation::Reputation;
pub use peers::reputation::ReputationChangeKind;
pub use peers::reputation::ReputationChangeWeights;
pub use peers::addr::PeerAddr;
pub use peers::kind::PeerKind;
pub use peers::reputation::is_banned_reputation;
pub use peers::reputation::ReputationChangeOutcome;
pub use peers::reputation::DEFAULT_REPUTATION;
pub use peers::state::PeerConnectionState;
pub use peers::ConnectionsConfig;
pub use peers::Peer;
pub use peers::PeersConfig;
pub use session::SessionLimits;
pub use session::SessionsConfig;

Modules§

peers
Types related to peering.
session
Peer sessions configuration.

Enums§

BackoffKind
Describes the type of backoff should be applied.