eventcheck

package
v0.0.0-...-59e56fa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyConnectedEvent = errors.New("event is connected already")
)

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.Event, parents []*inter.EventHeaderData) error

Validate runs all the checks except Poset-related. intended only for tests

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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