Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶ added in v0.14.6
type Driver ¶
type Driver[V types.Hashable[H], H types.Hash, A types.Addr] struct { // contains filtered or unexported fields }
func New ¶
func New[V types.Hashable[H], H types.Hash, A types.Addr]( log utils.Logger, db db.TendermintDB[V, H, A], stateMachine tendermint.StateMachine[V, H, A], blockchain Blockchain[V, H], p2p p2p.P2P[V, H, A], proposer proposer.Proposer[V, H], getTimeout timeoutFn, ) Driver[V, H, A]
func (*Driver[V, H, A]) Run ¶ added in v0.15.0
The Driver is responsible for listening to messages from the network and passing them into the stateMachine. The stateMachine processes these messages and returns a set of actions to be executed by the Driver. The Driver executes these actions (namely broadcasting messages and triggering scheduled timeouts).
Click to show internal directories.
Click to hide internal directories.