Documentation
¶
Overview ¶
The config package manages the node configuration, which comes from environment variables. The sub-package generate specifies these environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMnemonic ¶
AuthMnemonic allows signing through mnemonics.
type AuthPrivateKey ¶
AuthPrivateKey allows signing through private keys.
type NodeConfig ¶
type NodeConfig struct { LogLevel LogLevel LogPretty bool RollupsEpochLength uint64 BlockchainID uint64 BlockchainHttpEndpoint Redacted[string] BlockchainWsEndpoint Redacted[string] BlockchainIsLegacy bool BlockchainFinalityOffset int BlockchainBlockTimeout int ContractsApplicationAddress string ContractsHistoryAddress string ContractsAuthorityAddress string ContractsInputBoxAddress string ContractsInputBoxDeploymentBlockNumber int64 SnapshotDir string PostgresEndpoint Redacted[string] HttpAddress string HttpPort int FeatureHostMode bool FeatureReaderModeEnabled bool FeatureDisableClaimer bool FeatureDisableMachineHashCheck bool ExperimentalServerManagerBypassLog bool ExperimentalSunodoValidatorEnabled bool ExperimentalSunodoValidatorRedisEndpoint Redacted[string] Auth Auth }
NodeConfig contains all the Node variables. See the corresponding environment variable for the variable documentation.
Directories
¶
Path | Synopsis |
---|---|
This script will read the Config.toml file and create: - a formatted get.go file, with get functions for each environment variable; - a config.md file with documentation for the environment variables.
|
This script will read the Config.toml file and create: - a formatted get.go file, with get functions for each environment variable; - a config.md file with documentation for the environment variables. |
Click to show internal directories.
Click to hide internal directories.