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 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 ProposalSubmitter ¶ added in v1.8.0
type ProposalSubmitter interface { // SubmitProposal submits a proposal. SubmitProposal(ctx context.Context, proposal *api.VersionedSignedProposal) error }
ProposalSubmitter is the interface for a submitter of proposals.
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. |