Skip to main content

Module service

Module service 

Source

Structs§

IncomingSyncRequest
Incoming sync request forwarded to the sync responder
Litep2pNetworkSink
NetworkSink backed by litep2p, for use by the consensus engine. Also provides methods for peer management and sync.
NetworkConfig
Configuration for creating a NetworkService.
NetworkService
NetworkService wraps litep2p and provides consensus-level networking
NetworkServiceHandles
All handles returned by NetworkService::create.
PeerMap
Maps ValidatorId <-> PeerId for routing
PeerStatus
Status of a peer for external queries

Enums§

NetCommand
Commands sent from the NetworkSink to the NetworkService