package
0.38.0-preview.0
Repository: https://github.com/onflow/flow-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewEpochStateMachine creates a new higher-level hierarchical state machine for protocol-compliant evolution of Epoch-related sub-state.
No description provided by the author
NewFallbackStateMachine constructs a state machine for epoch fallback.
NewHappyPathStateMachine creates a new HappyPathStateMachine.

# Structs

EpochStateMachine is a hierarchical state machine that encapsulates the logic for protocol-compliant evolution of Epoch-related sub-state.
EpochStateMachineFactory is a factory for creating EpochStateMachine instances.
FallbackStateMachine is a special structure that encapsulates logic for processing service events when protocol is in epoch fallback mode.
HappyPathStateMachine is a dedicated structure for evolving the Epoch-related portion of the overall Protocol State.

# Interfaces

StateMachine implements a low-level interface for state-changing operations on the Epoch state.

# Type aliases

StateMachineFactoryMethod is a factory method to create state machines for evolving the protocol's epoch state.