cmd

package
v34.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	FlagValidatorPublicKeys      = "validator-public-keys"
	FlagValidatorHomeDirectories = "validator-home-directories"
)

Variables

This section is empty.

Functions

func AddConsumerSectionCmd

func AddConsumerSectionCmd(defaultNodeHome string) *cobra.Command

Types

type DefaultGenesisIO

type DefaultGenesisIO struct {
	DefaultGenesisReader
}

func NewDefaultGenesisIO

func NewDefaultGenesisIO() *DefaultGenesisIO

func (DefaultGenesisIO) AlterConsumerModuleState

func (x DefaultGenesisIO) AlterConsumerModuleState(cmd *cobra.Command, callback func(state *GenesisData, appState map[string]json.RawMessage) error) error

type DefaultGenesisReader

type DefaultGenesisReader struct{}

func (DefaultGenesisReader) ReadGenesis

func (d DefaultGenesisReader) ReadGenesis(cmd *cobra.Command) (*GenesisData, error)

type GenesisData

type GenesisData struct {
	GenesisFile         string
	GenDoc              *genutiltypes.AppGenesis
	AppState            map[string]json.RawMessage
	ConsumerModuleState *ccvtypes.ConsumerGenesisState
}

func NewGenesisData

func NewGenesisData(genesisFile string, genDoc *genutiltypes.AppGenesis, appState map[string]json.RawMessage, consumerModuleState *ccvtypes.ConsumerGenesisState) *GenesisData

type GenesisMutator

type GenesisMutator interface {
	AlterConsumerModuleState(cmd *cobra.Command, callback func(state *GenesisData, appState map[string]json.RawMessage) error) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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