diff --git a/cmd/XDC/main.go b/cmd/XDC/main.go index a0f99e9035..a2190cf698 100644 --- a/cmd/XDC/main.go +++ b/cmd/XDC/main.go @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with go-ethereum. If not, see . -// geth is the official command-line client for Ethereum. +// XDC is the official command-line client for Ethereum. package main import ( @@ -40,7 +40,7 @@ import ( ) const ( - clientIdentifier = "geth" // Client identifier to advertise over the network + clientIdentifier = "XDC" // Client identifier to advertise over the network ) var ( @@ -145,8 +145,8 @@ var ( ) func init() { - // Initialize the CLI app and start Geth - app.Action = geth + // Initialize the CLI app and start XDC + app.Action = XDC app.HideVersion = true // we have a command to print the version app.Copyright = "Copyright 2013-2017 The go-ethereum Authors" app.Commands = []cli.Command{ @@ -211,10 +211,10 @@ func main() { } } -// geth is the main entry point into the system if no special subcommand is ran. +// XDC is the main entry point into the system if no special subcommand is ran. // It creates a default node based on the command line arguments and runs it in // blocking mode, waiting for it to be shut down. -func geth(ctx *cli.Context) error { +func XDC(ctx *cli.Context) error { node := makeFullNode(ctx) startNode(ctx, node) node.Wait()