Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command is the command that starts the agent
type Config ¶
type Config struct {
// DepositAddress is the address of the deposit contract in eth1
DepositAddress string `hcl:"deposit_addr"`
// Endpoint is the endpoint for eth1
Endpoint string `hcl:"endpoint"`
// LogLevel is used to set the log level.
LogLevel string `hcl:"log_level"`
// Debug enables debug mode
Debug bool `hcl:"debug"`
// PrivKey is a private key to start
PrivKey string
// DataDir is the store data dir
DataDir string `hcl:"data_dir"`
// BeaconChainConfig is the reference to the beacon chain
BeaconChain string `hcl:"beacon_chain"`
// Keymanager is the configuration for the keymanager
Keymanager map[string]map[string]interface{} `hcl:"keymanager"`
}
Config is the agent configuration
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns the default configuration for the agent
Click to show internal directories.
Click to hide internal directories.