Crate zksync_consensus_network

Source
Expand description

Network component maintaining a pool of outbound and inbound connections to other nodes.

Modules§

consensus
Consensus network is a full graph of connections between all validators. BFT consensus messages are exchanged over this network.
debug_page
Http Server to export debug information
gossip
Gossip network is a sparse graph of connections between nodes (not necessarily validators). It will be used for:
io
proto
testonly
Testonly utilities.

Structs§

Config
Network component config.
GossipConfig
Gossip network configuration.
MeteredStreamStats
Metrics reported for TCP connections.
Network
State of the network component observable outside of the component.
RpcConfig
Rate limiting config for RPCs.
Runner
Runner of the Network background tasks.