db

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateDown

func MigrateDown(cliCtx *cli.Context) error

MigrateDown for a validator database.

func MigrateUp

func MigrateUp(cliCtx *cli.Context) error

MigrateUp for a validator database.

func Restore

func Restore(cliCtx *cli.Context) error

Restore a Prysm validator database.

Types

type Database

type Database = iface.ValidatorDB

Database defines the necessary methods for Prysm's validator client backend which may be implemented by any key-value or relational database in practice. This is the full database interface which should not be used often. Prefer a more restrictive interface in this package.

Directories

Path Synopsis
Package iface defines an interface for the validator database.
Package iface defines an interface for the validator database.
Package kv defines a persistent backend for the validator service.
Package kv defines a persistent backend for the validator service.

Jump to

Keyboard shortcuts

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