submitter

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 3 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 []*spec.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 []*spec.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.SignedBeaconBlock) 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 []*api.BeaconCommitteeSubscription) error
}

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

type Service

type Service interface{}

Service is the submitter service.

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