stateutils

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: 3 Imported by: 10

Documentation

Overview

Package stateutils contains useful tools for faster computation of state transitions using maps to represent validators instead of slices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatorIndexMap

func ValidatorIndexMap(validators []*ethpb.Validator) map[[48]byte]types.ValidatorIndex

ValidatorIndexMap builds a lookup map for quickly determining the index of a validator by their public key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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