mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
84916672c6
* replace eth2 types * replace protos * regen proto * replace * gaz * deps * amend * regen proto * mod * gaz * gaz * ensure build * ssz * add dep * no more eth2 types * no more eth2 * remg * all builds * buidl * tidy * clean * fmt * val serv * gaz Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
20 lines
483 B
Go
20 lines
483 B
Go
package cache
|
|
|
|
import (
|
|
"errors"
|
|
|
|
types "github.com/prysmaticlabs/prysm/consensus-types/primitives"
|
|
)
|
|
|
|
// ErrNotCommittee will be returned when a cache object is not a pointer to
|
|
// a Committee struct.
|
|
var ErrNotCommittee = errors.New("object is not a committee struct")
|
|
|
|
// Committees defines the shuffled committees seed.
|
|
type Committees struct {
|
|
CommitteeCount uint64
|
|
Seed [32]byte
|
|
ShuffledIndices []types.ValidatorIndex
|
|
SortedIndices []types.ValidatorIndex
|
|
}
|