checker

package
v0.29.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	notifications.NoopConsumer // satisfy the FinalizationConsumer interface
	// contains filtered or unexported fields
}

func New

func New(
	logger zerolog.Logger,
	state protocol.State,
	execState state.ExecutionState,
	sealsDB storage.Seals,
) *Engine

func (*Engine) Done

func (e *Engine) Done() <-chan struct{}

func (*Engine) OnFinalizedBlock

func (e *Engine) OnFinalizedBlock(block *model.Block)

when a block is finalized check if the last sealed has been executed, if it has been executed, check whether if the sealed result is consistent with the executed result

func (*Engine) Ready

func (e *Engine) Ready() <-chan struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL