Documentation ¶
Index ¶
- Variables
- func GetFlags() []cli.Flag
- func InitLog(DebugLevel string, DebugPrintOrigins bool)
- func LoadConfig(file string, cfg *Config) error
- func MakeNakedNode(config *Config, args []string) (*node.Node, *cli.Context, error)
- func NewTerminalHandler(wr io.Writer, lvl qlog.Lvl, useColor bool, locationEnabled bool) *agentTerminalHandler
- func SetDNSDiscoveryDefaults(cfg *Config)
- func UnlockAccount(ks *keystore.KeyStore, address string, i int, passwords []string) (accounts.Account, string)
- type Config
- type ETHChain
- func (ec *ETHChain) Backend() *eth.EthAPIBackend
- func (ec *ETHChain) Config() *Config
- func (ec *ETHChain) Context() *cli.Context
- func (ec *ETHChain) Ether() *eth.Ethereum
- func (ec *ETHChain) IsShutdown() bool
- func (ec *ETHChain) IsStarted() bool
- func (ec *ETHChain) Node() *node.Node
- func (ec *ETHChain) Start() error
- func (ec *ETHChain) Stop() error
- type StatsConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigFileFlag = &cli.StringFlag{
Name: "config",
Usage: "TOML configuration file",
}
)
Functions ¶
func LoadConfig ¶
func MakeNakedNode ¶
func NewTerminalHandler ¶ added in v1.2.0
func SetDNSDiscoveryDefaults ¶
func SetDNSDiscoveryDefaults(cfg *Config)
Types ¶
type ETHChain ¶
type ETHChain struct {
// contains filtered or unexported fields
}
func (*ETHChain) Backend ¶
func (ec *ETHChain) Backend() *eth.EthAPIBackend
func (*ETHChain) IsShutdown ¶
type StatsConfig ¶
type StatsConfig struct {
URL string `toml:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.