Crate reth_network_api

source ·
Expand description

Reth interface definitions and commonly used types for the reth-network crate.

Provides abstractions for the reth-network crate.

§Feature Flags

  • serde (default): Enable serde support

Re-exports§

Modules§

  • API related to syncing blocks.
  • Network Error
  • API related to listening for network events.
  • Implementation of network traits for that does nothing. A network implementation that does nothing.
  • API for integration testing network components.

Structs§

  • Represents a short summary of the eth sub-protocol metadata known about the host peer.
  • The status of the network being ran by the local node.
  • Info about an active peer session.

Enums§

Traits§

  • Helper trait that unifies network behaviour needed for fetching blocks.
  • Helper trait that unifies network API needed to launch node.
  • Provides general purpose information about the network.
  • Provides an API for managing the peers of the network.
  • Provides general purpose information about Peers in the network.

Type Aliases§