Documentation ¶
Index ¶
- Constants
- type BeaconBlobDeriver
- func (b *BeaconBlobDeriver) ActivationFork() string
- func (b *BeaconBlobDeriver) CannonType() xatu.CannonType
- func (b *BeaconBlobDeriver) Name() string
- func (b *BeaconBlobDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *BeaconBlobDeriver) Start(ctx context.Context) error
- func (b *BeaconBlobDeriver) Stop(ctx context.Context) error
- type BeaconBlobDeriverConfig
- type ProposerDutyDeriver
- func (b *ProposerDutyDeriver) ActivationFork() string
- func (b *ProposerDutyDeriver) CannonType() xatu.CannonType
- func (b *ProposerDutyDeriver) Name() string
- func (b *ProposerDutyDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *ProposerDutyDeriver) Start(ctx context.Context) error
- func (b *ProposerDutyDeriver) Stop(ctx context.Context) error
- type ProposerDutyDeriverConfig
Constants ¶
View Source
const (
BeaconBlobDeriverName = xatu.CannonType_BEACON_API_ETH_V1_BEACON_BLOB_SIDECAR
)
View Source
const (
ProposerDutyDeriverName = xatu.CannonType_BEACON_API_ETH_V1_PROPOSER_DUTY
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconBlobDeriver ¶
type BeaconBlobDeriver struct {
// contains filtered or unexported fields
}
func NewBeaconBlobDeriver ¶
func NewBeaconBlobDeriver(log logrus.FieldLogger, config *BeaconBlobDeriverConfig, iter *iterator.CheckpointIterator, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *BeaconBlobDeriver
func (*BeaconBlobDeriver) ActivationFork ¶ added in v0.0.140
func (b *BeaconBlobDeriver) ActivationFork() string
func (*BeaconBlobDeriver) CannonType ¶
func (b *BeaconBlobDeriver) CannonType() xatu.CannonType
func (*BeaconBlobDeriver) Name ¶
func (b *BeaconBlobDeriver) Name() string
func (*BeaconBlobDeriver) OnEventsDerived ¶
func (b *BeaconBlobDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type BeaconBlobDeriverConfig ¶
type BeaconBlobDeriverConfig struct {
Enabled bool `yaml:"enabled" default:"true"`
}
type ProposerDutyDeriver ¶ added in v0.0.136
type ProposerDutyDeriver struct {
// contains filtered or unexported fields
}
func NewProposerDutyDeriver ¶ added in v0.0.136
func NewProposerDutyDeriver(log logrus.FieldLogger, config *ProposerDutyDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *ProposerDutyDeriver
func (*ProposerDutyDeriver) ActivationFork ¶ added in v0.0.140
func (b *ProposerDutyDeriver) ActivationFork() string
func (*ProposerDutyDeriver) CannonType ¶ added in v0.0.136
func (b *ProposerDutyDeriver) CannonType() xatu.CannonType
func (*ProposerDutyDeriver) Name ¶ added in v0.0.136
func (b *ProposerDutyDeriver) Name() string
func (*ProposerDutyDeriver) OnEventsDerived ¶ added in v0.0.136
func (b *ProposerDutyDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type ProposerDutyDeriverConfig ¶ added in v0.0.136
type ProposerDutyDeriverConfig struct {
Enabled bool `yaml:"enabled" default:"true"`
}
Click to show internal directories.
Click to hide internal directories.