cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandBootstrap

func CommandBootstrap(cfgFile string) (map[string]interface{}, context.CancelFunc, error)

CommandBootstrap bootstraps the node for one time commands

func CreateConfig

func CreateConfig(
	targetDataDir, ethNodeURL, accountKeyPath, accountPassword, network, apiHost string,
	apiPort, p2pPort int64,
	bootstraps []string, preCommitEnabled bool, p2pConnectionTimeout string,
	smartContractAddrs *config.SmartContractAddresses, webhookURL string,
	centChainURL, centChainID, centChainSecret, centChainAddr string) error

CreateConfig creates a config file using provide parameters and the default config

func ExecCmdBootstrap

func ExecCmdBootstrap(cfgFile string) map[string]interface{}

ExecCmdBootstrap bootstraps the node for command line and testing purposes

func RunBootstrap

func RunBootstrap(cfgFile string)

RunBootstrap bootstraps the node for running

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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