log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
- "github.com/vapor/node"
+ "github.com/bytom/vapor/node"
)
const logModule = "cmd"
var runNodeCmd = &cobra.Command{
Use: "node",
- Short: "Run the bytomd",
+ Short: "Run the vapord",
RunE: runNode,
}
func init() {
- runNodeCmd.Flags().String("prof_laddr", config.ProfListenAddress, "Use http to profile bytomd programs")
+ runNodeCmd.Flags().String("prof_laddr", config.ProfListenAddress, "Use http to profile vapord programs")
runNodeCmd.Flags().Bool("mining", config.Mining, "Enable mining")
runNodeCmd.Flags().Bool("auth.disable", config.Auth.Disable, "Disable rpc access authenticate")
runNodeCmd.Flags().String("chain_id", config.ChainID, "Select network type")
// log level
- runNodeCmd.Flags().String("log_level", config.LogLevel, "Select log level(debug, info, warn, error or fatal")
+ runNodeCmd.Flags().String("log_level", config.LogLevel, "Select log level(debug, info, warn, error or fatal)")
// p2p flags
runNodeCmd.Flags().String("p2p.laddr", config.P2P.ListenAddress, "Node listen address. (0.0.0.0:0 means any interface, any port)")