Module consensus::network_interface
source · Expand description
DiemNet interface. Interface between Consensus and Network layers.
Structs
- The interface from Consensus to Networking layer.
Enums
- Network type for consensus
Constants
- Supported protocols in preferred order (from highest priority to lowest).
- Supported protocols in preferred order (from highest priority to lowest).
Functions
- Configuration for the network endpoints to support consensus. TODO: make this configurable
Type Definitions
- The interface from Network to Consensus layer.