state

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: GPL-3.0, LGPL-3.0, LGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyExists  = fmt.Errorf("validator already exists")
	ErrImmutableField = fmt.Errorf("immutable field cannot be updated")
)
View Source
var ErrUnknownVersion = errors.New("unknown validator-data codec version")

ErrUnknownVersion is returned when a wire blob carries a codec version other than codecVersion. Decomplected from codec.Manager but preserved as an exported sentinel because tests assert on it.

Functions

func NewState

func NewState(db luxdb.Database) (interfaces.State, error)

NewState creates a new State, it also loads the data from the disk

Types

This section is empty.

Directories

Path Synopsis
Package interfaces is a generated GoMock package.
Package interfaces is a generated GoMock package.

Jump to

Keyboard shortcuts

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