Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type CachedProposal ¶ added in v0.14.4
type StateMachine ¶ added in v0.14.4
type StateMachine[V types.Hashable[H], H types.Hash, A types.Addr] interface { ReplayWAL() ProcessStart(types.Round) []types.Action[V, H, A] ProcessTimeout(types.Timeout) []types.Action[V, H, A] ProcessProposal(*types.Proposal[V, H, A]) []types.Action[V, H, A] ProcessPrevote(*types.Prevote[H, A]) []types.Action[V, H, A] ProcessPrecommit(*types.Precommit[H, A]) []types.Action[V, H, A] }
func New ¶
func New[V types.Hashable[H], H types.Hash, A types.Addr]( db db.TendermintDB[V, H, A], log utils.Logger, nodeAddr A, app Application[V, H], vals votecounter.Validators[A], height types.Height, ) StateMachine[V, H, A]
Click to show internal directories.
Click to hide internal directories.