Versions in this module Expand all Collapse all v0 v0.0.4 Jan 15, 2025 v0.0.1 Jan 15, 2025 Changes in this version + var ErrNoBuilder = errors.New("builder endpoint not configured") + type BlockBuilder interface + Configured func() bool + GetHeader func(ctx context.Context, slot primitives.Slot, parentHash [32]byte, ...) (builder.SignedBid, error) + RegisterValidator func(ctx context.Context, reg []*ethpb.SignedValidatorRegistrationV1) error + RegistrationByValidatorID func(ctx context.Context, id primitives.ValidatorIndex) (*ethpb.ValidatorRegistrationV1, error) + SubmitBlindedBlock func(ctx context.Context, block interfaces.ReadOnlySignedBeaconBlock, ...) (interfaces.ExecutionData, *v1.BlobsBundle, error) + type Option func(s *Service) error + func FlagOptions(c *cli.Context) ([]Option, error) + func WithBuilderClient(client builder.BuilderClient) Option + func WithDatabase(beaconDB db.HeadAccessDatabase) Option + func WithHeadFetcher(svc blockchain.HeadFetcher) Option + func WithRegistrationCache() Option + type Service struct + func NewService(ctx context.Context, opts ...Option) (*Service, error) + func (s *Service) Configured() bool + func (s *Service) GetHeader(ctx context.Context, slot primitives.Slot, parentHash [32]byte, ...) (builder.SignedBid, error) + func (s *Service) RegisterValidator(ctx context.Context, reg []*ethpb.SignedValidatorRegistrationV1) error + func (s *Service) RegistrationByValidatorID(ctx context.Context, id primitives.ValidatorIndex) (*ethpb.ValidatorRegistrationV1, error) + func (s *Service) Start() + func (s *Service) Status() error + func (s *Service) Stop() error + func (s *Service) SubmitBlindedBlock(ctx context.Context, b interfaces.ReadOnlySignedBeaconBlock, ...) (interfaces.ExecutionData, *v1.BlobsBundle, error)