Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppStateKey is the key in the json json where all info // on initializing the app can be found AppStateKey = "app_state" DirConfig = "config" GenesisTimeKey = "genesis_time" ErrorAlreadyInitialised = "the application has already been initialised, use %s flag to override" FlagForce = "f" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppGenerator ¶
AppGenerator lets us lazily initialize app, using home dir and logger potentially initialized with other flags
type GenOptions ¶
type GenOptions func(args []string) (json.RawMessage, error)
GenOptions can parse command-line and flag to generate default app_options for the genesis file. This is application-specific
type GenesisDoc ¶ added in v0.2.0
type GenesisDoc map[string]json.RawMessage
GenesisDoc involves some tendermint-specific structures we don't want to parse, so we just grab it into a raw object format, so we can add one line.
Click to show internal directories.
Click to hide internal directories.