Crate zksync_consensus_bft

Source
Expand description

This crate contains the consensus component, which is responsible for handling the logic that allows us to reach agreement on blocks. It uses a new consensus algorithm developed at Matter Labs, called ChonkyBFT. You can find the specification of the algorithm here.

Modules§

testonly
This module contains utilities that are only meant for testing purposes.

Structs§

Config
Configuration of the bft component.

Functions§

create_input_channel
Creates a new input channel for the network messages.

Type Aliases§

FromNetworkMessage
ToNetworkMessage