submitter

package
v1.5.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateAttestationsSubmitter added in v0.6.1

type AggregateAttestationsSubmitter interface {
	// SubmitAggregateAttestations submits aggregate attestations.
	SubmitAggregateAttestations(ctx context.Context, aggregateAttestations []*phase0.SignedAggregateAndProof) error
}

AggregateAttestationsSubmitter is the interface for a submitter of aggregate attestations.

type AttestationsSubmitter added in v1.0.0

type AttestationsSubmitter interface {
	// SubmitAttestations submits multiple attestations.
	SubmitAttestations(ctx context.Context, attestations []*phase0.Attestation) error
}

AttestationsSubmitter is the interface for a submitter of attestations.

type BeaconBlockSubmitter

type BeaconBlockSubmitter interface {
	// SubmitBeaconBlock submits a block.
	SubmitBeaconBlock(ctx context.Context, block *spec.VersionedSignedBeaconBlock) error
}

BeaconBlockSubmitter is the interface for a submitter of beacon blocks.

type BeaconCommitteeSubscriptionsSubmitter

type BeaconCommitteeSubscriptionsSubmitter interface {
	// SubmitBeaconCommitteeSubscription submits a batch of beacon committee subscriptions.
	SubmitBeaconCommitteeSubscriptions(ctx context.Context, subscriptions []*apiv1.BeaconCommitteeSubscription) error
}

BeaconCommitteeSubscriptionsSubmitter is the interface for a submitter of beacon committee subscriptions.

type ProposalPreparationsSubmitter added in v1.5.0

type ProposalPreparationsSubmitter interface {
	// SubmitProposalPreparations submits proposal preparations.
	SubmitProposalPreparations(ctx context.Context, preparations []*apiv1.ProposalPreparation) error
}

ProposalPreparationsSubmitter is the interface for a submitter of proposal preparations.

type Service

type Service interface{}

Service is the submitter service.

type SyncCommitteeContributionsSubmitter added in v1.2.0

type SyncCommitteeContributionsSubmitter interface {
	// SubmitSyncCommitteeContributions submits sync committee contributions.
	SubmitSyncCommitteeContributions(ctx context.Context, contributionAndProofs []*altair.SignedContributionAndProof) error
}

SyncCommitteeContributionsSubmitter is the interface for a submitter of sync committee contributions.

type SyncCommitteeMessagesSubmitter added in v1.2.0

type SyncCommitteeMessagesSubmitter interface {
	// SubmitSyncCommitteeMessages submits sync committee messages.
	SubmitSyncCommitteeMessages(ctx context.Context, messages []*altair.SyncCommitteeMessage) error
}

SyncCommitteeMessagesSubmitter is the interface for a submitter of sync committee messages.

type SyncCommitteeSubscriptionsSubmitter added in v1.2.0

type SyncCommitteeSubscriptionsSubmitter interface {
	// SubmitSyncCommitteeSubscription submits a batch of sync committee subscriptions.
	SubmitSyncCommitteeSubscriptions(ctx context.Context, subscriptions []*apiv1.SyncCommitteeSubscription) error
}

SyncCommitteeSubscriptionsSubmitter is the interface for a submitter of sync committee subscriptions.

Directories

Path Synopsis
Package immediate is a submitter that immediately submits requests received.
Package immediate is a submitter that immediately submits requests received.
Package multinode is a strategy that obtains beacon block proposals from multiple nodes and selects the best one based on its attestation load.
Package multinode is a strategy that obtains beacon block proposals from multiple nodes and selects the best one based on its attestation load.
Package null is a submitter that does not submit requests.
Package null is a submitter that does not submit requests.

Jump to

Keyboard shortcuts

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