db

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 12 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateDown added in v1.3.3

func MigrateDown(cliCtx *cli.Context) error

MigrateDown for a validator database.

func MigrateUp added in v1.3.3

func MigrateUp(cliCtx *cli.Context) error

MigrateUp for a validator database.

func Restore added in v1.3.3

func Restore(cliCtx *cli.Context) error

Restore a Prysm validator database.

Types

type Database added in v1.0.0

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