Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FlagCfg is the flag for cfg FlagCfg = "cfg" // FlagGenesis is the flag for genesis file FlagGenesis = "genesis" )
View Source
const DefaultValues = `` /* 496-byte string literal not displayed */
DefaultValues is the default configuration
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ChainID uint64 `mapstructure:"ChainID"` Online OnlineConfig `mapstructure:"Online"` Offline datastreamer.Config `mapstructure:"Offline"` StateDB db.Config `mapstructure:"StateDB"` Executor executor.Config `mapstructure:"Executor"` MerkeTree merkletree.Config `mapstructure:"MerkeTree"` }
Config is the configuration for the tool
type OnlineConfig ¶ added in v0.3.3
type OnlineConfig struct { URI string `mapstructure:"URI"` StreamType datastreamer.StreamType `mapstructure:"StreamType"` }
OnlineConfig is the configuration for the online data streamer
Click to show internal directories.
Click to hide internal directories.