Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskName = "check_consensus_block_proposals" TaskDescriptor = &types.TaskDescriptor{ Name: TaskName, Description: "Check for consensus block proposals that meet specific criteria.", Config: DefaultConfig(), NewTask: NewTask, } )
Functions ¶
func NewTask ¶
func NewTask(ctx *types.TaskContext, options *types.TaskOptions) (types.Task, error)
Types ¶
type Config ¶
type Config struct { BlockCount int `yaml:"blockCount" json:"blockCount"` GraffitiPattern string `yaml:"graffitiPattern" json:"graffitiPattern"` ValidatorNamePattern string `yaml:"validatorNamePattern" json:"validatorNamePattern"` MinAttestationCount int `yaml:"minAttestationCount" json:"minAttestationCount"` MinDepositCount int `yaml:"minDepositCount" json:"minDepositCount"` MinExitCount int `yaml:"minExitCount" json:"minExitCount"` MinSlashingCount int `yaml:"minSlashingCount" json:"minSlashingCount"` MinAttesterSlashingCount int `yaml:"minAttesterSlashingCount" json:"minAttesterSlashingCount"` MinProposerSlashingCount int `yaml:"minProposerSlashingCount" json:"minProposerSlashingCount"` MinBlsChangeCount int `yaml:"minBlsChangeCount" json:"minBlsChangeCount"` MinWithdrawalCount int `yaml:"minWithdrawalCount" json:"minWithdrawalCount"` MinTransactionCount int `yaml:"minTransactionCount" json:"minTransactionCount"` MinBlobCount int `yaml:"minBlobCount" json:"minBlobCount"` }
func DefaultConfig ¶
func DefaultConfig() Config
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) Description ¶
func (*Task) LoadConfig ¶
func (*Task) Logger ¶
func (t *Task) Logger() logrus.FieldLogger
Click to show internal directories.
Click to hide internal directories.