eventcheck

package
v0.0.0-...-34d0e24 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyProcessedBVs   = errors.New("BVs is processed already")
	ErrAlreadyProcessedBR    = errors.New("BR is processed already")
	ErrAlreadyProcessedEV    = errors.New("EV is processed already")
	ErrAlreadyProcessedER    = errors.New("ER is processed already")
	ErrUnknownEpochBVs       = heavycheck.ErrUnknownEpochBVs
	ErrUnknownEpochEV        = heavycheck.ErrUnknownEpochEV
	ErrUndecidedBR           = errors.New("BR is unprocessable yet")
	ErrUndecidedER           = errors.New("ER is unprocessable yet")
	ErrAlreadyConnectedEvent = base.ErrAlreadyConnectedEvent
	ErrSpilledEvent          = base.ErrSpilledEvent
	ErrDuplicateEvent        = base.ErrDuplicateEvent
)

Functions

func IsBan

func IsBan(err error) bool

Types

type Checkers

type Checkers struct {
	Basiccheck    *basiccheck.Checker
	Epochcheck    *epochcheck.Checker
	Parentscheck  *parentscheck.Checker
	Gaspowercheck *gaspowercheck.Checker
	Heavycheck    *heavycheck.Checker
}

Checkers is collection of all the checkers

func (*Checkers) Validate

func (v *Checkers) Validate(e inter.EventPayloadI, parents inter.EventIs) error

Validate runs all the checks except Poset-related

Jump to

Keyboard shortcuts

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