valcheck

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatorValueCheck

type AggregatorValueCheck struct {
}

AggregatorValueCheck checks for an Aggregator type value

func (*AggregatorValueCheck) Check

func (v *AggregatorValueCheck) Check(value []byte) error

Check returns error if value is invalid

type AttestationValueCheck

type AttestationValueCheck struct {
}

AttestationValueCheck checks for an Attestation type value

func (*AttestationValueCheck) Check

func (v *AttestationValueCheck) Check(value []byte) error

Check returns error if value is invalid

type ProposerValueCheck

type ProposerValueCheck struct {
}

ProposerValueCheck checks for an Aggregator type value

func (*ProposerValueCheck) Check

func (v *ProposerValueCheck) Check(value []byte) error

Check returns error if value is invalid

type SlashingProtection added in v0.0.16

type SlashingProtection struct {
}

SlashingProtection is a controller for different types of ethereum value and slashing protection instances

func New added in v0.0.16

func New() *SlashingProtection

New returns a new instance of slashing protection

func (*SlashingProtection) AggregationValidation added in v0.0.16

func (sp *SlashingProtection) AggregationValidation() *AggregatorValueCheck

AggregationValidation returns an aggregation value check

func (*SlashingProtection) AttestationSlashingProtector added in v0.0.16

func (sp *SlashingProtection) AttestationSlashingProtector() *AttestationValueCheck

AttestationSlashingProtector returns an attestation slashing protection value check

func (*SlashingProtection) ProposalSlashingProtector added in v0.0.16

func (sp *SlashingProtection) ProposalSlashingProtector() *ProposerValueCheck

ProposalSlashingProtector returns a proposal slashing protection value check

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL