core/network/network
library
Classes
-
AddrDelay
-
AddrDelay provides an address along with the delay after which the address
should be dialed
-
Dialer
-
Dialer represents a service that can dial out to peers
-
EvtPeerConnectednessChanged
-
-
MultiaddrDNSResolver
-
MultiaddrDNSResolver resolves DNS multiaddrs
-
Network
-
Network is the interface used to connect to the outside world.
It dials and listens for connections. it uses a Swarm to pool
connections. Connections are encrypted with a TLS-like protocol.
Enums
-
Connectedness
-
Connectedness signals the capacity for a connection with a given node.
It is used to signal to services and other peers whether a node is reachable.
-
Reachability
-
Reachability indicates how reachable a node is.
Constants
-
messageSizeMax
→ const int
-
MessageSizeMax is a soft (recommended) maximum for network messages.
One can write more, as the interface is a stream. But it is useful
to bunch it up into multiple read/writes when the whole message is
a single, large serialized object.