checker

package
v0.34.0-crescendo-prev... Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultTimeInterval = time.Minute * 1

DefaultTimeInterval triggers the check once every minute,

Variables

This section is empty.

Functions

This section is empty.

Types

type Core added in v0.33.1

type Core struct {
	// contains filtered or unexported fields
}

Core is the core logic of the checker engine that checks if the execution result matches the sealed result.

func NewCore added in v0.33.1

func NewCore(
	logger zerolog.Logger,
	state protocol.State,
	execState state.ExecutionState,
) *Core

func (*Core) RunCheck added in v0.33.1

func (c *Core) RunCheck() error

RunCheck skips when the last sealed has not been executed, and last executed has not been finalized.

type Engine

type Engine struct {
	*component.ComponentManager
	// contains filtered or unexported fields
}

func NewEngine added in v0.33.1

func NewEngine(core *Core) *Engine

Jump to

Keyboard shortcuts

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