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"` ProposerDutyConfig v1.ProposerDutyDeriverConfig `yaml:"proposerDuty"` ElaboratedAttestationConfig v2.ElaboratedAttestationDeriverConfig `yaml:"elaboratedAttestation"` }
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) // ActivationFork is the fork at which the deriver should start deriving events ActivationFork() string }
Click to show internal directories.
Click to hide internal directories.