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.
Click to show internal directories.
Click to hide internal directories.