package
0.0.0-20240221112840-97bb420e9169
Repository: https://github.com/icbnetwork/icb-network-blockchain-modules.git
Documentation: pkg.go.dev

# Functions

NewIBFT creates a new instance of the IBFT consensus protocol.
NewValidatorManager creates new ValidatorManager.
SetMeasurementTime function set duration to gauge.

# Structs

IBFT represents a single instance of the IBFT state machine.
ValidatorManager keeps voting power and other information about validators.

# Interfaces

Backend defines an interface all backend implementations need to implement.
Logger represents the logger behaviour.
MessageConstructor defines a message constructor interface All constructed messages must be signed by a validator for the whole message.
Messages represents the message managing behaviour.
Transport defines an interface the node uses to communicate with other peers.
ValidatorBackend defines interface that has GetVotingPower.
Verifier defines the verifier interface.