stateutils

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: GPL-3.0 Imports: 2 Imported by: 11

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]uint64

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