deriver

package
v0.0.133 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AttesterSlashingConfig     v2.AttesterSlashingDeriverConfig            `yaml:"attesterSlashing"`
	BLSToExecutionConfig       v2.BLSToExecutionChangeDeriverConfig        `yaml:"blsToExecutionChange"`
	DepositConfig              v2.DepositDeriverConfig                     `yaml:"deposit"`
	ExecutionTransactionConfig v2.ExecutionTransactionDeriverConfig        `yaml:"executionTransaction"`
	ProposerSlashingConfig     v2.ProposerSlashingDeriverConfig            `yaml:"proposerSlashing"`
	VoluntaryExitConfig        v2.VoluntaryExitDeriverConfig               `yaml:"voluntaryExit"`
	WithdrawalConfig           v2.WithdrawalDeriverConfig                  `yaml:"withdrawal"`
	BeaconBlockConfig          v2.BeaconBlockDeriverConfig                 `yaml:"beaconBlock"`
	BlockClassificationConfig  blockprint.BlockClassificationDeriverConfig `yaml:"blockClassification"`
	BeaconBlobSidecarConfig    v1.BeaconBlobDeriverConfig                  `yaml:"beaconBlobSidecar"`
}

func (*Config) Validate

func (c *Config) Validate() error

type EventDeriver

type EventDeriver interface {
	Start(ctx context.Context) error
	Stop(ctx context.Context) error
	Name() string
	CannonType() xatu.CannonType
	// Callbacks
	OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
}

Directories

Path Synopsis
beacon

Jump to

Keyboard shortcuts

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