diff options
author | Matthew Di Ferrante <mattdf@users.noreply.github.com> | 2016-07-12 20:43:15 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-07-12 20:43:15 +0800 |
commit | 68b48cc045c31a3ae321e923194007ad036cf3f0 (patch) | |
tree | 03a38e73316aa80fd94b2877031c9b4e993f731f /cmd | |
parent | 7596b33506d7304a24705a7feee2485d4064e982 (diff) | |
download | dexon-68b48cc045c31a3ae321e923194007ad036cf3f0.tar.gz dexon-68b48cc045c31a3ae321e923194007ad036cf3f0.tar.zst dexon-68b48cc045c31a3ae321e923194007ad036cf3f0.zip |
cmd/geth: print version on geth start (#2622)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index a65a43ac3..cb43f8769 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -310,6 +310,8 @@ func initGenesis(ctx *cli.Context) error { // it unlocks any requested accounts, and starts the RPC/IPC interfaces and the // miner. func startNode(ctx *cli.Context, stack *node.Node) { + // Report geth version + glog.V(logger.Info).Infof("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS) // Start up the node itself utils.StartNode(stack) |