Documentation ¶
Index ¶
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) 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:"false"`
}
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) 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.