Module message
Available on crate feature
network
only.Expand description
Capability messaging
An RLPx
stream is multiplexed via the prepended message-id of a framed message.
Capabilities are exchanged via the RLPx
Hello
message as pairs of (id, version)
, https://github.com/ethereum/devp2p/blob/master/rlpx.md#capability-messaging
Structs§
- NewBlock
Message - Internal form of a
NewBlock
message
Enums§
- Block
Request - Request Variants that only target block related data.
- Peer
Message - All Bi-directional eth-message variants that can be sent to a session or received from a session.
- Peer
Response - Corresponding variant for
PeerRequest
. - Peer
Response Result - All response variants for
PeerResponse