Documentation ¶
Overview ¶
Package null is a submitter that does not submit requests.
Index ¶
- type Parameter
- type Service
- func (s *Service) SubmitAggregateAttestations(ctx context.Context, aggregates []*spec.SignedAggregateAndProof) error
- func (s *Service) SubmitAttestations(ctx context.Context, attestations []*spec.Attestation) error
- func (s *Service) SubmitBeaconBlock(ctx context.Context, block *spec.SignedBeaconBlock) error
- func (s *Service) SubmitBeaconCommitteeSubscriptions(ctx context.Context, subscriptions []*api.BeaconCommitteeSubscription) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
type Service ¶
type Service struct{}
Service is the submitter for signed items.
func (*Service) SubmitAggregateAttestations ¶ added in v0.6.1
func (s *Service) SubmitAggregateAttestations(ctx context.Context, aggregates []*spec.SignedAggregateAndProof) error
SubmitAggregateAttestations submits aggregate attestations.
func (*Service) SubmitAttestations ¶ added in v1.0.0
SubmitAttestations submits multiple attestations.
func (*Service) SubmitBeaconBlock ¶
SubmitBeaconBlock submits a block.
func (*Service) SubmitBeaconCommitteeSubscriptions ¶
func (s *Service) SubmitBeaconCommitteeSubscriptions(ctx context.Context, subscriptions []*api.BeaconCommitteeSubscription) error
SubmitBeaconCommitteeSubscriptions submits a batch of beacon committee subscriptions.
Click to show internal directories.
Click to hide internal directories.