Documentation ¶
Index ¶
- Constants
- func GetBlockIdentifier(block *spec.VersionedSignedBeaconBlock, ...) (*xatu.BlockIdentifier, error)
- type AttesterSlashingDeriver
- func (a *AttesterSlashingDeriver) ActivationFork() spec.DataVersion
- func (a *AttesterSlashingDeriver) CannonType() xatu.CannonType
- func (a *AttesterSlashingDeriver) Name() string
- func (a *AttesterSlashingDeriver) OnEventsDerived(ctx context.Context, ...)
- func (a *AttesterSlashingDeriver) Start(ctx context.Context) error
- func (a *AttesterSlashingDeriver) Stop(ctx context.Context) error
- type AttesterSlashingDeriverConfig
- type BLSToExecutionChangeDeriver
- func (b *BLSToExecutionChangeDeriver) ActivationFork() spec.DataVersion
- func (b *BLSToExecutionChangeDeriver) CannonType() xatu.CannonType
- func (b *BLSToExecutionChangeDeriver) Name() string
- func (b *BLSToExecutionChangeDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *BLSToExecutionChangeDeriver) Start(ctx context.Context) error
- func (b *BLSToExecutionChangeDeriver) Stop(ctx context.Context) error
- type BLSToExecutionChangeDeriverConfig
- type BeaconBlockDeriver
- func (b *BeaconBlockDeriver) ActivationFork() spec.DataVersion
- func (b *BeaconBlockDeriver) CannonType() xatu.CannonType
- func (b *BeaconBlockDeriver) Name() string
- func (b *BeaconBlockDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *BeaconBlockDeriver) Start(ctx context.Context) error
- func (b *BeaconBlockDeriver) Stop(ctx context.Context) error
- type BeaconBlockDeriverConfig
- type DepositDeriver
- func (b *DepositDeriver) ActivationFork() spec.DataVersion
- func (b *DepositDeriver) CannonType() xatu.CannonType
- func (b *DepositDeriver) Name() string
- func (b *DepositDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *DepositDeriver) Start(ctx context.Context) error
- func (b *DepositDeriver) Stop(ctx context.Context) error
- type DepositDeriverConfig
- type ElaboratedAttestationDeriver
- func (b *ElaboratedAttestationDeriver) ActivationFork() spec.DataVersion
- func (b *ElaboratedAttestationDeriver) CannonType() xatu.CannonType
- func (b *ElaboratedAttestationDeriver) Name() string
- func (b *ElaboratedAttestationDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *ElaboratedAttestationDeriver) Start(ctx context.Context) error
- func (b *ElaboratedAttestationDeriver) Stop(ctx context.Context) error
- type ElaboratedAttestationDeriverConfig
- type ExecutionTransactionDeriver
- func (b *ExecutionTransactionDeriver) ActivationFork() spec.DataVersion
- func (b *ExecutionTransactionDeriver) CannonType() xatu.CannonType
- func (b *ExecutionTransactionDeriver) Name() string
- func (b *ExecutionTransactionDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *ExecutionTransactionDeriver) Start(ctx context.Context) error
- func (b *ExecutionTransactionDeriver) Stop(ctx context.Context) error
- type ExecutionTransactionDeriverConfig
- type ProposerSlashingDeriver
- func (b *ProposerSlashingDeriver) ActivationFork() spec.DataVersion
- func (b *ProposerSlashingDeriver) CannonType() xatu.CannonType
- func (b *ProposerSlashingDeriver) Name() string
- func (b *ProposerSlashingDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *ProposerSlashingDeriver) Start(ctx context.Context) error
- func (b *ProposerSlashingDeriver) Stop(ctx context.Context) error
- type ProposerSlashingDeriverConfig
- type VoluntaryExitDeriver
- func (b *VoluntaryExitDeriver) ActivationFork() spec.DataVersion
- func (b *VoluntaryExitDeriver) CannonType() xatu.CannonType
- func (b *VoluntaryExitDeriver) Name() string
- func (b *VoluntaryExitDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *VoluntaryExitDeriver) Start(ctx context.Context) error
- func (b *VoluntaryExitDeriver) Stop(ctx context.Context) error
- type VoluntaryExitDeriverConfig
- type WithdrawalDeriver
- func (b *WithdrawalDeriver) ActivationFork() spec.DataVersion
- func (b *WithdrawalDeriver) CannonType() xatu.CannonType
- func (b *WithdrawalDeriver) Name() string
- func (b *WithdrawalDeriver) OnEventsDerived(ctx context.Context, ...)
- func (b *WithdrawalDeriver) Start(ctx context.Context) error
- func (b *WithdrawalDeriver) Stop(ctx context.Context) error
- type WithdrawalDeriverConfig
Constants ¶
View Source
const (
AttesterSlashingDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_ATTESTER_SLASHING
)
View Source
const (
BLSToExecutionChangeDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_BLS_TO_EXECUTION_CHANGE
)
View Source
const (
BeaconBlockDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK
)
View Source
const (
DepositDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_DEPOSIT
)
View Source
const (
ElaboratedAttestationDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_ELABORATED_ATTESTATION
)
View Source
const (
ExecutionTransactionDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_EXECUTION_TRANSACTION
)
View Source
const (
ProposerSlashingDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_PROPOSER_SLASHING
)
View Source
const (
VoluntaryExitDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_VOLUNTARY_EXIT
)
View Source
const (
WithdrawalDeriverName = xatu.CannonType_BEACON_API_ETH_V2_BEACON_BLOCK_WITHDRAWAL
)
Variables ¶
This section is empty.
Functions ¶
func GetBlockIdentifier ¶
func GetBlockIdentifier(block *spec.VersionedSignedBeaconBlock, wallclock *ethwallclock.EthereumBeaconChain) (*xatu.BlockIdentifier, error)
Types ¶
type AttesterSlashingDeriver ¶
type AttesterSlashingDeriver struct {
// contains filtered or unexported fields
}
func NewAttesterSlashingDeriver ¶
func NewAttesterSlashingDeriver(log logrus.FieldLogger, config *AttesterSlashingDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *AttesterSlashingDeriver
func (*AttesterSlashingDeriver) ActivationFork ¶ added in v0.0.140
func (a *AttesterSlashingDeriver) ActivationFork() spec.DataVersion
func (*AttesterSlashingDeriver) CannonType ¶
func (a *AttesterSlashingDeriver) CannonType() xatu.CannonType
func (*AttesterSlashingDeriver) Name ¶
func (a *AttesterSlashingDeriver) Name() string
func (*AttesterSlashingDeriver) OnEventsDerived ¶
func (a *AttesterSlashingDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type AttesterSlashingDeriverConfig ¶
type AttesterSlashingDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type BLSToExecutionChangeDeriver ¶
type BLSToExecutionChangeDeriver struct {
// contains filtered or unexported fields
}
func NewBLSToExecutionChangeDeriver ¶
func NewBLSToExecutionChangeDeriver(log logrus.FieldLogger, config *BLSToExecutionChangeDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *BLSToExecutionChangeDeriver
func (*BLSToExecutionChangeDeriver) ActivationFork ¶ added in v0.0.140
func (b *BLSToExecutionChangeDeriver) ActivationFork() spec.DataVersion
func (*BLSToExecutionChangeDeriver) CannonType ¶
func (b *BLSToExecutionChangeDeriver) CannonType() xatu.CannonType
func (*BLSToExecutionChangeDeriver) Name ¶
func (b *BLSToExecutionChangeDeriver) Name() string
func (*BLSToExecutionChangeDeriver) OnEventsDerived ¶
func (b *BLSToExecutionChangeDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type BLSToExecutionChangeDeriverConfig ¶
type BLSToExecutionChangeDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type BeaconBlockDeriver ¶
type BeaconBlockDeriver struct {
// contains filtered or unexported fields
}
func NewBeaconBlockDeriver ¶
func NewBeaconBlockDeriver(log logrus.FieldLogger, config *BeaconBlockDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *BeaconBlockDeriver
func (*BeaconBlockDeriver) ActivationFork ¶ added in v0.0.140
func (b *BeaconBlockDeriver) ActivationFork() spec.DataVersion
func (*BeaconBlockDeriver) CannonType ¶
func (b *BeaconBlockDeriver) CannonType() xatu.CannonType
func (*BeaconBlockDeriver) Name ¶
func (b *BeaconBlockDeriver) Name() string
func (*BeaconBlockDeriver) OnEventsDerived ¶
func (b *BeaconBlockDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type BeaconBlockDeriverConfig ¶
type BeaconBlockDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type DepositDeriver ¶
type DepositDeriver struct {
// contains filtered or unexported fields
}
func NewDepositDeriver ¶
func NewDepositDeriver(log logrus.FieldLogger, config *DepositDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *DepositDeriver
func (*DepositDeriver) ActivationFork ¶ added in v0.0.140
func (b *DepositDeriver) ActivationFork() spec.DataVersion
func (*DepositDeriver) CannonType ¶
func (b *DepositDeriver) CannonType() xatu.CannonType
func (*DepositDeriver) Name ¶
func (b *DepositDeriver) Name() string
func (*DepositDeriver) OnEventsDerived ¶
func (b *DepositDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type DepositDeriverConfig ¶
type DepositDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type ElaboratedAttestationDeriver ¶ added in v0.0.139
type ElaboratedAttestationDeriver struct {
// contains filtered or unexported fields
}
func NewElaboratedAttestationDeriver ¶ added in v0.0.139
func NewElaboratedAttestationDeriver(log logrus.FieldLogger, config *ElaboratedAttestationDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *ElaboratedAttestationDeriver
func (*ElaboratedAttestationDeriver) ActivationFork ¶ added in v0.0.140
func (b *ElaboratedAttestationDeriver) ActivationFork() spec.DataVersion
func (*ElaboratedAttestationDeriver) CannonType ¶ added in v0.0.139
func (b *ElaboratedAttestationDeriver) CannonType() xatu.CannonType
func (*ElaboratedAttestationDeriver) Name ¶ added in v0.0.139
func (b *ElaboratedAttestationDeriver) Name() string
func (*ElaboratedAttestationDeriver) OnEventsDerived ¶ added in v0.0.139
func (b *ElaboratedAttestationDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type ElaboratedAttestationDeriverConfig ¶ added in v0.0.139
type ElaboratedAttestationDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type ExecutionTransactionDeriver ¶
type ExecutionTransactionDeriver struct {
// contains filtered or unexported fields
}
func NewExecutionTransactionDeriver ¶
func NewExecutionTransactionDeriver(log logrus.FieldLogger, config *ExecutionTransactionDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *ExecutionTransactionDeriver
func (*ExecutionTransactionDeriver) ActivationFork ¶ added in v0.0.140
func (b *ExecutionTransactionDeriver) ActivationFork() spec.DataVersion
func (*ExecutionTransactionDeriver) CannonType ¶
func (b *ExecutionTransactionDeriver) CannonType() xatu.CannonType
func (*ExecutionTransactionDeriver) Name ¶
func (b *ExecutionTransactionDeriver) Name() string
func (*ExecutionTransactionDeriver) OnEventsDerived ¶
func (b *ExecutionTransactionDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type ExecutionTransactionDeriverConfig ¶
type ExecutionTransactionDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type ProposerSlashingDeriver ¶
type ProposerSlashingDeriver struct {
// contains filtered or unexported fields
}
func NewProposerSlashingDeriver ¶
func NewProposerSlashingDeriver(log logrus.FieldLogger, config *ProposerSlashingDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *ProposerSlashingDeriver
func (*ProposerSlashingDeriver) ActivationFork ¶ added in v0.0.140
func (b *ProposerSlashingDeriver) ActivationFork() spec.DataVersion
func (*ProposerSlashingDeriver) CannonType ¶
func (b *ProposerSlashingDeriver) CannonType() xatu.CannonType
func (*ProposerSlashingDeriver) Name ¶
func (b *ProposerSlashingDeriver) Name() string
func (*ProposerSlashingDeriver) OnEventsDerived ¶
func (b *ProposerSlashingDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type ProposerSlashingDeriverConfig ¶
type ProposerSlashingDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type VoluntaryExitDeriver ¶
type VoluntaryExitDeriver struct {
// contains filtered or unexported fields
}
func NewVoluntaryExitDeriver ¶
func NewVoluntaryExitDeriver(log logrus.FieldLogger, config *VoluntaryExitDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *VoluntaryExitDeriver
func (*VoluntaryExitDeriver) ActivationFork ¶ added in v0.0.140
func (b *VoluntaryExitDeriver) ActivationFork() spec.DataVersion
func (*VoluntaryExitDeriver) CannonType ¶
func (b *VoluntaryExitDeriver) CannonType() xatu.CannonType
func (*VoluntaryExitDeriver) Name ¶
func (b *VoluntaryExitDeriver) Name() string
func (*VoluntaryExitDeriver) OnEventsDerived ¶
func (b *VoluntaryExitDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type VoluntaryExitDeriverConfig ¶
type VoluntaryExitDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
type WithdrawalDeriver ¶
type WithdrawalDeriver struct {
// contains filtered or unexported fields
}
func NewWithdrawalDeriver ¶
func NewWithdrawalDeriver(log logrus.FieldLogger, config *WithdrawalDeriverConfig, iter *iterator.BackfillingCheckpoint, beacon *ethereum.BeaconNode, clientMeta *xatu.ClientMeta) *WithdrawalDeriver
func (*WithdrawalDeriver) ActivationFork ¶ added in v0.0.140
func (b *WithdrawalDeriver) ActivationFork() spec.DataVersion
func (*WithdrawalDeriver) CannonType ¶
func (b *WithdrawalDeriver) CannonType() xatu.CannonType
func (*WithdrawalDeriver) Name ¶
func (b *WithdrawalDeriver) Name() string
func (*WithdrawalDeriver) OnEventsDerived ¶
func (b *WithdrawalDeriver) OnEventsDerived(ctx context.Context, fn func(ctx context.Context, events []*xatu.DecoratedEvent) error)
type WithdrawalDeriverConfig ¶
type WithdrawalDeriverConfig struct { Enabled bool `yaml:"enabled" default:"true"` Iterator iterator.BackfillingCheckpointConfig `yaml:"iterator"` }
Click to show internal directories.
Click to hide internal directories.