types

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconNodeInfo

type BeaconNodeInfo struct {
	ProcessID int
	MultiAddr string
}

BeaconNodeInfo contains the info of ports and other required information needed to communicate with the beacon node it represents.

type E2EConfig

type E2EConfig struct {
	BeaconFlags    []string
	ValidatorFlags []string
	EpochsToRun    uint64
	TestSync       bool
	TestSlasher    bool
	Evaluators     []Evaluator
}

E2EConfig defines the struct for all configurations needed for E2E testing.

type Evaluator

type Evaluator struct {
	Name       string
	Policy     func(currentEpoch uint64) bool
	Evaluation func(conn ...*grpc.ClientConn) error
}

Evaluator defines the structure of the evaluators used to conduct the current beacon state during the E2E.

Jump to

Keyboard shortcuts

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