standard

package
v1.6.0-beta4 Latest Latest
Warning

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

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

Documentation

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 WithChainTimeService

func WithChainTimeService(service chaintime.Service) Parameter

WithChainTimeService sets the chaintime service.

func WithExecutionConfigProvider added in v1.6.0

func WithExecutionConfigProvider(provider blockrelay.ExecutionConfigProvider) Parameter

WithExecutionConfigProvider sets the execution configuration provider.

func WithLogLevel

func WithLogLevel(logLevel zerolog.Level) Parameter

WithLogLevel sets the log level for the module.

func WithMonitor

func WithMonitor(monitor metrics.Service) Parameter

WithMonitor sets the monitor for this module.

func WithProposalPreparationsSubmitter

func WithProposalPreparationsSubmitter(submitter eth2client.ProposalPreparationsSubmitter) Parameter

WithProposalPreparationsSubmitter sets the proposal preparations submitter.

func WithValidatingAccountsProvider

func WithValidatingAccountsProvider(provider accountmanager.ValidatingAccountsProvider) Parameter

WithValidatingAccountsProvider sets the account manager.

func WithValidatorRegistrationsSubmitter

func WithValidatorRegistrationsSubmitter(submitter blockrelay.ValidatorRegistrationsSubmitter) Parameter

WithValidatorRegistrationsSubmitter sets the validator registrations submitter.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is a proposal preparer.

func New

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

New creates a new proposal preparer.

func (*Service) UpdatePreparations

func (s *Service) UpdatePreparations(ctx context.Context) error

UpdatePreparations updates the preparations for validators on the beacon nodes.

Jump to

Keyboard shortcuts

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