Documentation ¶
Overview ¶
Package null is a submitter that does not submit requests.
Index ¶
- type Parameter
- type Service
- func (*Service) SubmitAggregateAttestations(_ context.Context, aggregates []*phase0.SignedAggregateAndProof) error
- func (*Service) SubmitAttestations(_ context.Context, attestations []*phase0.Attestation) error
- func (*Service) SubmitBeaconCommitteeSubscriptions(_ context.Context, subscriptions []*apiv1.BeaconCommitteeSubscription) error
- func (*Service) SubmitProposal(_ context.Context, proposal *api.VersionedSignedProposal) error
- func (*Service) SubmitProposalPreparations(_ context.Context, preparations []*apiv1.ProposalPreparation) error
- func (*Service) SubmitSyncCommitteeContributions(_ context.Context, contributionAndProofs []*altair.SignedContributionAndProof) error
- func (*Service) SubmitSyncCommitteeMessages(_ context.Context, messages []*altair.SyncCommitteeMessage) error
- func (*Service) SubmitSyncCommitteeSubscriptions(_ context.Context, subscriptions []*apiv1.SyncCommitteeSubscription) 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 (*Service) SubmitAggregateAttestations(_ context.Context, aggregates []*phase0.SignedAggregateAndProof) error
SubmitAggregateAttestations submits aggregate attestations.
func (*Service) SubmitAttestations ¶ added in v1.0.0
SubmitAttestations submits multiple attestations.
func (*Service) SubmitBeaconCommitteeSubscriptions ¶
func (*Service) SubmitBeaconCommitteeSubscriptions(_ context.Context, subscriptions []*apiv1.BeaconCommitteeSubscription) error
SubmitBeaconCommitteeSubscriptions submits a batch of beacon committee subscriptions.
func (*Service) SubmitProposal ¶ added in v1.8.0
SubmitProposal submits a proposal.
func (*Service) SubmitProposalPreparations ¶ added in v1.5.0
func (*Service) SubmitProposalPreparations(_ context.Context, preparations []*apiv1.ProposalPreparation) error
SubmitProposalPreparations submits proposal preparations.
func (*Service) SubmitSyncCommitteeContributions ¶ added in v1.2.0
func (*Service) SubmitSyncCommitteeContributions(_ context.Context, contributionAndProofs []*altair.SignedContributionAndProof) error
SubmitSyncCommitteeContributions submits sync committee contributions.
func (*Service) SubmitSyncCommitteeMessages ¶ added in v1.2.0
func (*Service) SubmitSyncCommitteeMessages(_ context.Context, messages []*altair.SyncCommitteeMessage) error
SubmitSyncCommitteeMessages submits sync committee messages.
func (*Service) SubmitSyncCommitteeSubscriptions ¶ added in v1.2.0
func (*Service) SubmitSyncCommitteeSubscriptions(_ context.Context, subscriptions []*apiv1.SyncCommitteeSubscription) error
SubmitSyncCommitteeSubscriptions submits a batch of sync committee subscriptions.