Documentation ¶
Index ¶
- func GetConfigurationFileBytes(chainId, moniker, seeds string, chainImageName string, useDataContainer bool, ...) ([]byte, error)
- func GetExampleConfigFileBytes() ([]byte, error)
- func ViperSubConfig(conf *viper.Viper, configSubtreePath string) (subConfig *viper.Viper, err error)
- type ConfigChainGeneral
- type ConfigChainModule
- type ConfigServiceGeneral
- type ConfigTendermint
- type ModuleConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigurationFileBytes ¶ added in v0.16.0
func GetConfigurationFileBytes(chainId, moniker, seeds string, chainImageName string, useDataContainer bool, exportedPortsString, containerEntrypoint string) ([]byte, error)
NOTE: [ben] for 0.12.0-rc3 we only have a single configuration path with Tendermint in-process as the consensus engine and ErisMint in-process as the application manager, so we hard-code the few parameters that are already templated. Let's learn to walk before we can run.
func GetExampleConfigFileBytes ¶ added in v0.16.0
Types ¶
type ConfigChainGeneral ¶ added in v0.16.0
type ConfigChainGeneral struct { AssertChainId string ErisdbMajorVersion uint8 ErisdbMinorVersion uint8 GenesisRelativePath string }
TODO: [ben] increase the configurability upon need
type ConfigChainModule ¶ added in v0.16.0
type ConfigServiceGeneral ¶ added in v0.16.0
type ConfigTendermint ¶ added in v0.16.0
Click to show internal directories.
Click to hide internal directories.