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.
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. |
Click to show internal directories.
Click to hide internal directories.