shuffle

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package shuffle contains all conformity specification tests for validator shuffling logic according to the Ethereum Beacon Node spec.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunShuffleTests

func RunShuffleTests(t *testing.T, config string)

RunShuffleTests executes "shuffling/core/shuffle" tests.

Types

type ShuffleTestCase

type ShuffleTestCase struct {
	Seed    string                 `yaml:"seed"`
	Count   uint64                 `yaml:"count"`
	Mapping []types.ValidatorIndex `yaml:"mapping"`
}

ShuffleTestCase --

Jump to

Keyboard shortcuts

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