Documentation ¶
Index ¶
Constants ¶
View Source
const ( // #nosec G101 (look for hardcoded credentials) // This line doesn't contain any credentials. // It's just the name of the environment variable. EthereumPasswordEnvVariable = "KEEP_ETHEREUM_PASSWORD" // LogLevelEnvVariable can be used to define logging configuration. LogLevelEnvVariable = "LOG_LEVEL" )
Variables ¶
View Source
var AllCategories = []Category{ General, Ethereum, BitcoinElectrum, Network, Storage, ClientInfo, Tbtc, Maintainer, Developer, }
AllCategories are all available categories.
View Source
var MaintainerCategories = []Category{ Ethereum, BitcoinElectrum, Maintainer, }
MaintainerCategories are categories needed for the maintainer command.
View Source
var StartCmdCategories = []Category{ General, Ethereum, BitcoinElectrum, Network, Storage, ClientInfo, Tbtc, Developer, }
StartCmdCategories are categories needed for the start command.
Functions ¶
func GetDeveloperContractAddressKey ¶ added in v1.21.0
GetDeveloperContractAddressKey returns a key for developer contract address configuration.
Types ¶
type BitcoinConfig ¶ added in v1.21.0
type BitcoinConfig struct { bitcoin.Network // Electrum defines the configuration for the Electrum client. Electrum electrum.Config }
BitcoinConfig defines the configuration for Bitcoin.
type Config ¶
type Config struct { Ethereum commonEthereum.Config Bitcoin BitcoinConfig LibP2P libp2p.Config `mapstructure:"network"` Storage storage.Config ClientInfo clientinfo.Config Maintainer maintainer.Config Tbtc tbtc.Config }
Config is the top level config structure.
Click to show internal directories.
Click to hide internal directories.