reth_eth_wire_types

Module message

Source
Expand description

Implements Ethereum wire protocol for versions 66, 67, and 68. Defines structs/enums for messages, request-response pairs, and broadcasts. Handles compatibility with EthVersion.

Examples include creating, encoding, and decoding protocol messages.

Reference: Ethereum Wire Protocol.

Structs§

  • Represents messages that can be sent to multiple peers.
  • An eth protocol message, containing a message ID and payload.
  • This is used for all request-response style eth protocol messages. This can represent either a request or a response, since both include a message payload and request id.

Enums§

Constants§