Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent is a long running daemon that is used to run the ethereum client
type BackendConfig ¶
type BackendConfig map[string]interface{}
BackendConfig is the configuration for the backends
type BlockchainConfig ¶
type BlockchainConfig struct { Backend string `json:"backend"` Config BackendConfig `json:"config"` }
BlockchainConfig is the blockchain configuration
type Config ¶
type Config struct { Chain string `json:"chain"` DataDir string `json:"data_dir"` BindAddr string `json:"bind_addr"` BindPort int `json:"bind_port"` RPCAddr string `json:"rpc_addr"` RPCPort int `json:"rpc_port"` Telemetry *Telemetry `json:"telemetry"` ServiceName string `json:"service_name"` Seal bool `json:"seal"` LogLevel string `json:"log_level"` Blockchain *BlockchainConfig `json:"blockchain"` Protocols map[string]BackendConfig `json:"protocols"` Discovery map[string]BackendConfig `json:"discovery"` Consensus BackendConfig `json:"consensus"` API map[string]BackendConfig `json:"api"` StateStorage string `json:"state_storage"` }
func DefaultConfig ¶
func DefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.