stateutils

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: GPL-3.0 Imports: 4 Imported by: 3

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[[fieldparams.BLSPubkeyLength]byte]primitives.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