migrate

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: CC0-1.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateCmd

func MigrateCmd() *cobra.Command

MigrateCmd returns the command that should be run when we want to migrate from v1 to v2

Types

type Config

type Config struct {
	Chain     *config.ChainConfig    `yaml:"chain"`
	Node      *nodeconfig.Config     `yaml:"node"`
	Parser    *parserconfig.Config   `yaml:"parsing"`
	Database  *databaseconfig.Config `yaml:"database"`
	Logging   *loggingconfig.Config  `yaml:"logging"`
	Telemetry *telemetry.Config      `yaml:"telemetry,omitempty"`
	Pruning   *pruning.Config        `yaml:"pruning,omitempty"`
}

func MigrateConfig

func MigrateConfig() (Config, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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