db

package
v3.2.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: GPL-3.0 Imports: 12 Imported by: 4

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