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) SubmitBeaconBlock(_ context.Context, block *spec.VersionedSignedBeaconBlock) error
- func (*Service) SubmitBeaconCommitteeSubscriptions(_ context.Context, subscriptions []*api.BeaconCommitteeSubscription) 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 []*api.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) SubmitBeaconBlock ¶
SubmitBeaconBlock submits a block.
func (*Service) SubmitBeaconCommitteeSubscriptions ¶
func (*Service) SubmitBeaconCommitteeSubscriptions(_ context.Context, subscriptions []*api.BeaconCommitteeSubscription) error
SubmitBeaconCommitteeSubscriptions submits a batch of beacon committee subscriptions.
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 []*api.SyncCommitteeSubscription) error
SubmitSyncCommitteeSubscriptions submits a batch of sync committee subscriptions.