Expand description
ress
protocol is an RLPx
subprotocol for stateless nodes.
following RLPx specs
Modules§
- test_
utils test-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 atstart_hash
, traversing towards the genesis block. - Protocol
State - Protocol state is an helper struct to store the protocol events.
- Ress
Protocol Connection - The connection handler for the custom
RLPx
protocol. - Ress
Protocol Handler - The protocol handler takes care of incoming and outgoing connections.
- Ress
Protocol Message - An Ress protocol message, containing a message ID and payload.
Enums§
- Node
Type - Node type variant.
- Protocol
Event - The events that can be emitted by our custom protocol.
- Ress
Message - Represents a message in the ress protocol.
- Ress
MessageID - Represents message IDs for
ress
protocol messages. - Ress
Peer Request - Ress peer request.
Traits§
- Ress
Protocol Provider - A provider trait for ress protocol.