Documentation ¶
Index ¶
- type Service
- func (s *Service) GetDataUsedForSlot(slot phase0.Slot) (synccommitteemessenger.SlotData, bool)
- func (*Service) Message(_ context.Context, _ interface{}) ([]*altair.SyncCommitteeMessage, error)
- func (*Service) Prepare(_ context.Context, _ interface{}) error
- func (s *Service) PrimeLastReported(slot phase0.Slot, lastReported synccommitteemessenger.SlotData)
- func (*Service) RemoveHistoricDataUsedForSlotVerification(_ phase0.Slot)
- func (s *Service) ResetMock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a mock sync committee contributor.
func (*Service) GetDataUsedForSlot ¶ added in v1.9.0
GetDataUsedForSlot is a mock.
func (*Service) Message ¶
Message generates and broadcasts sync committee messages for a slot. It returns a list of messages made.
func (*Service) PrimeLastReported ¶ added in v1.9.0
func (s *Service) PrimeLastReported(slot phase0.Slot, lastReported synccommitteemessenger.SlotData)
PrimeLastReported is used to prime the mock.
func (*Service) RemoveHistoricDataUsedForSlotVerification ¶ added in v1.9.0
RemoveHistoricDataUsedForSlotVerification is a mock.
Click to show internal directories.
Click to hide internal directories.