package
Version:
v0.0.0
Opens a new window with list of versions in this module.
Published: Dec 3, 2024
License:
UNKNOWN
not legal advice
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrAppStateNotSet = errors.New("genesis app state not set")
ErrNoOutputFile = errors.New("no output file path specified")
ErrUnableToLoadGenesis = errors.New("unable to load genesis")
)
GetDefaultGenesis returns the default genesis config
GetDummyKey generates a random public key,
and returns the key info
GetDummyKeys generates random keys for testing
type Cfg struct {
GenesisPath string
}
Cfg is the common
configuration for genesis commands
that require a genesis.json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.