blockaggregator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HexToHash

func HexToHash(s string) (ret phase0.Hash32, err error)

HexToHash takes a hex string and returns a Hash

Types

type BlockAggregatorService

type BlockAggregatorService struct {
	Data                         *data.AggregatorData
	ConnectedBLockSources        []string
	ModuleNotificationExclusions []string
	// contains filtered or unexported fields
}

func NewBlockAggregatorService

func NewBlockAggregatorService() *BlockAggregatorService

func (*BlockAggregatorService) CliCommand added in v1.0.0

func (b *BlockAggregatorService) CliCommand() *cli.Command

func (*BlockAggregatorService) Configure

func (b *BlockAggregatorService) Configure(moduleFlags common.ModuleFlags) error

func (*BlockAggregatorService) ConnectBlockSource

func (b *BlockAggregatorService) ConnectBlockSource(moduleName string) error

func (*BlockAggregatorService) ConnectCore

func (b *BlockAggregatorService) ConnectCore(coreClient *coreCommon.Client, pingId string) error

func (*BlockAggregatorService) DisconnectBlockSource added in v0.0.12

func (b *BlockAggregatorService) DisconnectBlockSource(moduleName string) error

func (*BlockAggregatorService) ExcludeFromNotifications added in v0.0.12

func (b *BlockAggregatorService) ExcludeFromNotifications(moduleName string) error

func (*BlockAggregatorService) GetHeader

func (b *BlockAggregatorService) GetHeader(slot uint64, parentHash, proposerPubkey string) (res []spec.VersionedSignedBuilderBid, err error)

func (*BlockAggregatorService) GetPayload

func (b *BlockAggregatorService) GetPayload(VersionedSignedBlindedBeaconBlock *commonTypes.VersionedSignedBlindedBeaconBlock) (versionedExecutionPayload []commonTypes.VersionedExecutionPayloadV2WithVersionName, err error)

func (*BlockAggregatorService) IncludeInNotifications added in v0.0.12

func (b *BlockAggregatorService) IncludeInNotifications(moduleName string) error

func (*BlockAggregatorService) Name

func (b *BlockAggregatorService) Name() string

func (*BlockAggregatorService) RegisterValidator

func (b *BlockAggregatorService) RegisterValidator(payload []apiv1.SignedValidatorRegistration) error

Move this to a different module later for validator management

func (*BlockAggregatorService) Start

func (b *BlockAggregatorService) Start() error

func (*BlockAggregatorService) Status

func (b *BlockAggregatorService) Status() error

func (*BlockAggregatorService) Stop

func (b *BlockAggregatorService) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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