Module agora.network.Manager

Expose facilities used by the Node to communicate with the network

The NetworkManager is responsible for managing the view of the network that a Node has. Things such as peer blacklisting, prioritization (which peer is contacted first when a message has to be sent), etc... are handled here.

In unittests, one can replace a NetworkManager with a TestNetworkManager which provides a different client type (see makeClient) in order to enable in-memory network communication.

Classes

NameDescription
NetworkManager

Structs

NameDescription
PeerRange A range over the list of peers that can be invalidated