Crate reth_ress_protocol

Source
Expand description

ress protocol is an RLPx subprotocol for stateless nodes. following RLPx specs

Modules§

test_utilstest-utils
Miscellaneous test utilities.

Structs§

GetHeaders
A request for a peer to return block headers starting at the requested block. The peer must return at most limit headers. The headers will be returned starting at start_hash, traversing towards the genesis block.
ProtocolState
Protocol state is an helper struct to store the protocol events.
RessProtocolConnection
The connection handler for the custom RLPx protocol.
RessProtocolHandler
The protocol handler takes care of incoming and outgoing connections.
RessProtocolMessage
An Ress protocol message, containing a message ID and payload.

Enums§

NodeType
Node type variant.
ProtocolEvent
The events that can be emitted by our custom protocol.
RessMessage
Represents a message in the ress protocol.
RessMessageID
Represents message IDs for ress protocol messages.
RessPeerRequest
Ress peer request.

Traits§

RessProtocolProvider
A provider trait for ress protocol.