github.com/prysmaticlabs/prysm@v1.4.4/beacon-chain/cache/committees.go (about)

     1  package cache
     2  
     3  import (
     4  	"errors"
     5  
     6  	types "github.com/prysmaticlabs/eth2-types"
     7  )
     8  
     9  // ErrNotCommittee will be returned when a cache object is not a pointer to
    10  // a Committee struct.
    11  var ErrNotCommittee = errors.New("object is not a committee struct")
    12  
    13  // Committees defines the shuffled committees seed.
    14  type Committees struct {
    15  	CommitteeCount  uint64
    16  	Seed            [32]byte
    17  	ShuffledIndices []types.ValidatorIndex
    18  	SortedIndices   []types.ValidatorIndex
    19  }