null

package
v1.6.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package null is a submitter that does not submit requests.

Index

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

func WithLogLevel(logLevel zerolog.Level) Parameter

WithLogLevel sets the log level for the module.

type Service

type Service struct{}

Service is the submitter for signed items.

func New

func New(_ context.Context, params ...Parameter) (*Service, error)

New creates a new submitter.

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

func (*Service) SubmitAttestations(_ context.Context, attestations []*phase0.Attestation) error

SubmitAttestations submits multiple attestations.

func (*Service) SubmitBeaconBlock

func (*Service) SubmitBeaconBlock(_ context.Context, block *spec.VersionedSignedBeaconBlock) error

SubmitBeaconBlock submits a block.

func (*Service) SubmitBeaconCommitteeSubscriptions

func (*Service) SubmitBeaconCommitteeSubscriptions(_ context.Context, subscriptions []*apiv1.BeaconCommitteeSubscription) error

SubmitBeaconCommitteeSubscriptions submits a batch of beacon committee subscriptions.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL