Documentation ¶
Overview ¶
Package beaconcommitteesubscriber is a package that manages subscriptions for beacon committees.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Subscribe subscribes to beacon committees for a given epoch. Subscribe(ctx context.Context, epoch phase0.Epoch, accounts map[phase0.ValidatorIndex]e2wtypes.Account, ) (map[phase0.Slot]map[phase0.CommitteeIndex]*Subscription, error) }
Service is the beacon committee subscriber service.
type Subscription ¶
type Subscription struct { Duty *api.AttesterDuty IsAggregator bool Signature phase0.BLSSignature }
Subscription holds details of the committees to which we are subscribing.
Click to show internal directories.
Click to hide internal directories.