reth_network_p2p::headers

Module client

Source
Expand description

Trait definition for HeadersClient

Structs§

  • The response to [GetBlockHeaders], containing headers if any headers were found.
  • The header request struct to be sent to connected peers, which will proceed to ask them to stream the requested headers to us.
  • A Future that resolves to a single block body.

Enums§

  • Represents the direction for a headers request depending on the reverse field of the request.

Traits§

Type Aliases§