Module network::protocols

source ·
Expand description

Protocols used by network module for external APIs and internal functionality

Each protocol corresponds to a certain order of messages

Modules

  • Protocol used to ensure peer liveness
  • Protocol used to exchange supported protocol information with a remote.
  • Convenience Network API for Diem
  • Implementation of the unary RPC protocol as per DiemNet wire protocol v1.
  • This module defines the structs transported during the DiemNet handshake protocol and the DiemNet messaging protocol. The handshake protocol is executed prior to executing the messaging protocol, and is used to determine the version of messaging protocol to use. Each node only supports one version of the handshake protocol on an end-point, and that is advertised as part of its discovery NetworkAddress.