components

package
v1.0.0-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartBeaconNodes

func StartBeaconNodes(t *testing.T, config *types.E2EConfig, enr string) []int

StartBeaconNodes starts the requested amount of beacon nodes, passing in the deposit contract given.

func StartBootnode

func StartBootnode(t *testing.T) (string, int)

StartBootnode starts a bootnode and returns its ENR and process ID.

func StartEth1Node

func StartEth1Node(t *testing.T) (string, int)

StartEth1Node starts an eth1 local dev chain and deploys a deposit contract.

func StartNewBeaconNode

func StartNewBeaconNode(t *testing.T, config *types.E2EConfig, index int, enr string) int

StartNewBeaconNode starts a fresh beacon node, connecting to all passed in beacon nodes.

func StartSlashers

func StartSlashers(t *testing.T) []int

StartSlashers starts slasher clients for use within E2E, connected to all beacon nodes. It returns the process IDs of the slashers.

func StartValidators

func StartValidators(
	t *testing.T,
	config *types.E2EConfig,
	keystorePath string,
) []int

StartValidators sends the deposits to the eth1 chain and starts the validator clients.

Types

This section is empty.

Jump to

Keyboard shortcuts

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