Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duty ¶
type Duty struct { // Slot is the slot of the sync committee aggregation; required for obtaining the aggregate. Slot phase0.Slot // ValidatorIndices are the validators that aggregate for this slot. ValidatorIndices []phase0.ValidatorIndex // SelectionProofs are the selection proofs of the subcommittees for which each validator aggregates. SelectionProofs map[phase0.ValidatorIndex]map[uint64]phase0.BLSSignature // Accounts is used to sign the sync committee contribution and proof. Accounts map[phase0.ValidatorIndex]e2wtypes.Account }
Duty contains information about a sync committee aggregation duty.
type Service ¶
type Service interface { // SetBeaconBlockRoot sets the beacon block root used for a given slot. SetBeaconBlockRoot(slot phase0.Slot, root phase0.Root) // Aggregate carries out aggregation for a slot and committee. Aggregate(ctx context.Context, details interface{}) }
Service is the sync committee aggregation service.
Click to show internal directories.
Click to hide internal directories.