Documentation ¶
Index ¶
- func CopyConfig(cmdConfig *util.Config) *node.Config
- func Execute()
- func GetConfigFromFile(filepath string) (*util.Config, error)
- func GetP2pConfig(cmdConfig *util.Config) (p2p.Config, error)
- func LoadAccountConfig(account string) (map[common.Address]*big.Int, error)
- func LoadConfigFromFile(configFile string, accounts string) (*node.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyConfig ¶
CopyConfig copy Config from the given config
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetConfigFromFile ¶
GetConfigFromFile unmarshals the config from the given file
func GetP2pConfig ¶
GetP2pConfig get P2PConfig from the given config
func LoadAccountConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.