Documentation ¶
Overview ¶
The config package handles all of the node's configurations, which are mostly obtained through environment variables.
The get.go file contains most of the getter functions for the configuration values. Its code is automatically generated by the generate/main.go script, given the environment variable configured in the generate/Config.toml file.
Custom getters are defined in the config.go file.
Index ¶
- Variables
- func GetCartesiBlockchainBlockTimeout() int
- func GetCartesiBlockchainFinalityOffset() int
- func GetCartesiBlockchainHttpEndpoint() string
- func GetCartesiBlockchainId() int
- func GetCartesiBlockchainIsLegacy() bool
- func GetCartesiBlockchainWsEndpoint() string
- func GetCartesiContractsApplicationAddress() string
- func GetCartesiContractsApplicationDeploymentBlockNumber() string
- func GetCartesiContractsAuthorityAddress() string
- func GetCartesiContractsHistoryAddress() string
- func GetCartesiContractsInputBoxAddress() string
- func GetCartesiContractsInputBoxDeploymentBlockNumber() int64
- func GetCartesiExperimentalDisableConfigLog() bool
- func GetCartesiExperimentalServerManagerBypassLog() bool
- func GetCartesiExperimentalSunodoValidatorEnabled() bool
- func GetCartesiExperimentalSunodoValidatorRedisEndpoint() string
- func GetCartesiFeatureDisableClaimer() bool
- func GetCartesiFeatureDisableMachineHashCheck() bool
- func GetCartesiFeatureHostMode() bool
- func GetCartesiHttpAddress() string
- func GetCartesiHttpPort() int
- func GetCartesiLogTimestamp() bool
- func GetCartesiPostgresEndpoint() string
- func GetCartesiSnapshotDir() string
- type Auth
- type AuthAWS
- type AuthMnemonic
- type Duration
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetCartesiBlockchainBlockTimeout ¶
func GetCartesiBlockchainBlockTimeout() int
func GetCartesiBlockchainFinalityOffset ¶
func GetCartesiBlockchainFinalityOffset() int
func GetCartesiBlockchainHttpEndpoint ¶
func GetCartesiBlockchainHttpEndpoint() string
func GetCartesiBlockchainId ¶
func GetCartesiBlockchainId() int
func GetCartesiBlockchainIsLegacy ¶
func GetCartesiBlockchainIsLegacy() bool
func GetCartesiBlockchainWsEndpoint ¶
func GetCartesiBlockchainWsEndpoint() string
func GetCartesiContractsApplicationAddress ¶
func GetCartesiContractsApplicationAddress() string
func GetCartesiContractsApplicationDeploymentBlockNumber ¶
func GetCartesiContractsApplicationDeploymentBlockNumber() string
func GetCartesiContractsAuthorityAddress ¶
func GetCartesiContractsAuthorityAddress() string
func GetCartesiContractsHistoryAddress ¶
func GetCartesiContractsHistoryAddress() string
func GetCartesiContractsInputBoxAddress ¶
func GetCartesiContractsInputBoxAddress() string
func GetCartesiContractsInputBoxDeploymentBlockNumber ¶
func GetCartesiContractsInputBoxDeploymentBlockNumber() int64
func GetCartesiExperimentalDisableConfigLog ¶ added in v1.3.1
func GetCartesiExperimentalDisableConfigLog() bool
func GetCartesiExperimentalServerManagerBypassLog ¶ added in v1.3.1
func GetCartesiExperimentalServerManagerBypassLog() bool
func GetCartesiExperimentalSunodoValidatorEnabled ¶
func GetCartesiExperimentalSunodoValidatorEnabled() bool
func GetCartesiExperimentalSunodoValidatorRedisEndpoint ¶
func GetCartesiExperimentalSunodoValidatorRedisEndpoint() string
func GetCartesiFeatureDisableClaimer ¶
func GetCartesiFeatureDisableClaimer() bool
func GetCartesiFeatureDisableMachineHashCheck ¶
func GetCartesiFeatureDisableMachineHashCheck() bool
func GetCartesiFeatureHostMode ¶
func GetCartesiFeatureHostMode() bool
func GetCartesiHttpAddress ¶
func GetCartesiHttpAddress() string
func GetCartesiHttpPort ¶
func GetCartesiHttpPort() int
func GetCartesiLogTimestamp ¶
func GetCartesiLogTimestamp() bool
func GetCartesiPostgresEndpoint ¶
func GetCartesiPostgresEndpoint() string
func GetCartesiSnapshotDir ¶
func GetCartesiSnapshotDir() string
Types ¶
type AuthMnemonic ¶
Allows signing through mnemonics.
type Duration ¶
func GetCartesiEpochDuration ¶
func GetCartesiEpochDuration() Duration
Click to show internal directories.
Click to hide internal directories.