shell

package
v0.0.0-...-a838072 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: Unlicense Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigFile string
	DataDir    string
	AppDataDir string
	Node       *node.Config
	Wallet     *walletmain.Config
	Levels     map[string]string
	// contains filtered or unexported fields
}

Config is the combined app and logging configuration data

func (*Config) GetNodeActiveNet

func (r *Config) GetNodeActiveNet() *netparams.Params

GetNodeActiveNet returns the activenet netparams

func (*Config) GetWalletActiveNet

func (r *Config) GetWalletActiveNet() *netparams.Params

GetWalletActiveNet returns the activenet netparams

func (*Config) SetNodeActiveNet

func (r *Config) SetNodeActiveNet(in *netparams.Params)

SetNodeActiveNet returns the activenet netparams

func (*Config) SetWalletActiveNet

func (r *Config) SetWalletActiveNet(in *netparams.Params)

SetWalletActiveNet returns the activenet netparams

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL