valcheck

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 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 pre-prepare 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