Structs§
- Datagram
- Host
Metadata - Network
Context - Wrapper around network service.
- Network
Service - NetworkService implements the P2P communication between different nodes. It manages connections between peers, including accepting new peers or dropping existing peers. Inside NetworkService, it has an IoService event loop with a thread pool.
- Network
Service Inner - The inner implementation of NetworkService. Note that all accesses to the RWLocks of the fields have to follow the defined order to avoid race
- Protocol
Version - UdpChannel
- UdpIo
Context
Constants§
- DEFAULT_
CONNECTION_ LIFETIME_ FOR_ PROMOTION - DEFAULT_
DISCOVERY_ REFRESH_ TIMEOUT - DEFAULT_
DISCOVERY_ ROUND_ TIMEOUT - DEFAULT_
FAST_ DISCOVERY_ REFRESH_ TIMEOUT - DEFAULT_
HOUSEKEEPING_ TIMEOUT - DEFAULT_
NODE_ TABLE_ TIMEOUT - MAX_
DATAGRAM_ SIZE - UDP_
PROTOCOL_ DISCOVERY