Versions in this module Expand all Collapse all v0 v0.0.11 Dec 8, 2022 v0.0.10 Dec 8, 2022 v0.0.9 Dec 7, 2022 v0.0.8 Dec 1, 2022 Changes in this version type InitConfig + GenerateKeys bool v0.0.7 Oct 14, 2022 Changes in this version + func CreateTOML(config *RootConfiguration) ([]byte, error) + type BootnodeConfig struct + CacheSize int + ListeningAddress string + Name string + type ChainConfig struct + ID int + MonitorDbInMemory bool + MonitorDbPath string + StateDbInMemory bool + StateDbPath string + TransactionDbInMemory bool + TransactionDbPath string + type DeployConfig struct + Migrations bool + TestMigrations bool + type EthKeyConfig struct + Json bool + LightKDF bool + NewPasswordFile string + PasswordFile string + Private bool + PrivateKey string + type EthereumConfig struct + DefaultAccount string + Endpoint string + EndpointMinimumPeers uint64 + FactoryAddress string + Keystore string + PassCodes string + ProcessingBlockBatchSize uint64 + StartingBlock uint64 + TxMaxGasFeeAllowedInGwei uint64 + TxMetricsDisplay bool + type FirewalldConfig struct + Enabled bool + SocketFile string + type InitConfig struct + Network string + Path string + type LoggingConfig struct + AliceNet string + App string + Badger string + Bootnode string + Consensus string + Db string + Deploy string + Dkg string + Dman string + Ethereum string + Gossipbus string + LocalRPC string + Main string + Monitor string + MuxHandler string + P2pmux string + Peer string + PeerMan string + Services string + Settings string + Status string + Test string + Transport string + Utils string + Validator string + Yamux string + type RootConfiguration struct + BootNode BootnodeConfig + Chain ChainConfig + ConfigurationFileName string + Deploy DeployConfig + EthKey EthKeyConfig + Ethereum EthereumConfig + Firewalld FirewalldConfig + Initialization InitConfig + Logging LoggingConfig + LoggingLevels string + Transport TransportConfig + Utils UtilsConfig + Validator ValidatorConfig + Version string + type TransportConfig struct + BootNodeAddresses string + FirewallHost string + FirewallMode bool + LocalStateListeningAddress string + OriginLimit int + P2PListeningAddress string + PeerLimitMax int + PeerLimitMin int + PrivateKey string + Size int + Timeout time.Duration + UPnP bool + Whitelist string + func (t TransportConfig) BootNodes() []string + type UtilsConfig struct + Status bool + type ValidatorConfig struct + Repl bool + RewardAccount string + RewardCurveSpec int + SymmetricKey string v0.0.6 Sep 12, 2022 v0.0.5 Aug 23, 2022 v0.0.4 Aug 19, 2022 v0.0.3 Aug 11, 2022 v0.0.2 Aug 8, 2022 v0.0.1 Jul 22, 2022 Changes in this version + var Configuration configuration + func SetBinding(ptr interface{}, f *pflag.Flag) + func SetValue(ptr interface{}, value interface{}) + type Setting struct + DefaultValue string + Description string + Key string + Value string + type Settings map[string]*Setting + func LoadSettings(args []string) (Settings, error) + func ParseCommandLine(arguments []string) (Settings, error) + func ParseConfigBuffer(in io.Reader, format string) (Settings, error) + func ParseConfigFile(configFileName string) (Settings, error) + func (settings Settings) FilterNamespaces(nsKeep string) Settings + func (settings Settings) GetString(name string) (string, bool) + func (settings Settings) RequiredSettingsPresent(requiredSettings Settings) error