Crate reth_eth_wire_types
source ·Expand description
Types for the eth wire protocol: https://github.com/ethereum/devp2p/blob/master/caps/eth.md
Re-exports§
pub use version::EthVersion;
pub use version::ProtocolVersion;
pub use message::EthMessage;
pub use message::EthMessageID;
pub use message::ProtocolMessage;
pub use header::*;
pub use blocks::*;
pub use broadcast::*;
pub use transactions::*;
pub use state::*;
pub use receipts::*;
pub use disconnect_reason::*;
pub use capability::*;
Modules§
- Implements the
GetBlockHeaders
,GetBlockBodies
,BlockHeaders
, andBlockBodies
message types. - Types for broadcasting new data.
- All capability related types
RLPx
disconnect reason sent to/received from peer- Header types.
- Implements Ethereum wire protocol for versions 66, 67, and 68. Defines structs/enums for messages, request-response pairs, and broadcasts. Handles compatibility with
EthVersion
. - Implements the
GetReceipts
andReceipts
message types. - Implements the
GetNodeData
andNodeData
message types. - Implements the
GetPooledTransactions
andPooledTransactions
message types. - Support for representing the version of the
eth
Structs§
- The status message is used in the eth protocol handshake to ensure that peers are on the same network and are following the same fork.
- Builder for
Status
messages.