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

# Functions

NewFinalizationActor creates a new FinalizationActor, and returns the worker routine and event consumer required to operate it.
NewFinalizedHeaderCache returns a new FinalizedHeaderCache and the ComponentWorker function.

# Structs

FinalizationActor is an event responder worker which can be embedded in a component to simplify the plumbing required to respond to block finalization events.
FinalizedHeaderCache caches a copy of the most recently finalized block header by consuming BlockFinalized events from HotStuff, using a FinalizationActor.

# Type aliases

ProcessLatestFinalizedBlock is invoked when a new block is finalized.