valcheck

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

README

Value check

IBFT tests a received value via an interface called ValueCheck. This is a simple interface which passes a byte slice to an implementation, for SSV we can check AttestationData/ ProposalData and so on.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueCheck

type ValueCheck interface {
	Check(value []byte) error
}

ValueCheck is an interface which validates the proposal value passed to the node. It's kept minimal to allow the implementation to have all the check logic.

Jump to

Keyboard shortcuts

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