Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeCmd = &cobra.Command{ Use: "node", Short: "Start plasma node", Long: `Start the Plasma child chain.`, PreRunE: func(cmd *cobra.Command, args []string) error { return initConfig(cmd) }, Run: func(cmd *cobra.Command, args []string) { n := new(network.Node) err := n.Start() if err != nil { log.WithError(err).Fatal("node failed to start") } }, PostRun: func(cmd *cobra.Command, args []string) { waitForExit() }, }
NodeCmd represents the subcommand to start Plasma chain node
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.