Structs

A grouping of common information between all networking code for logging. This should greatly reduce the groupings between these given everywhere, and will allow for logging accordingly.

Identifier of a node, represented as (network_id, peer_id)

Enums

A representation of the network being used in communication. There should only be one of each NetworkId used for a single node (except for NetworkId::Public), and handshakes should verify that the NetworkId being used is the same during a handshake, to effectively ensure communication is restricted to a network. Network should be checked that it is not the DEFAULT_NETWORK