Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDatabase ¶ added in v5.0.2
func ConvertDatabase(ctx context.Context, sourceDataDir string, targetDataDir string, minimalToComplete bool) error
ConvertDatabase converts a minimal database to a complete database or a complete database to a minimal database. Delete the source database after conversion.
func MigrateDown ¶
func MigrateDown(cliCtx *cli.Context) error
MigrateDown for a 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. |
Click to show internal directories.
Click to hide internal directories.