diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-06 03:51:01 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-06 03:51:01 +0800 |
commit | 24b9860c1bc214d2db943bc69117818311406bdb (patch) | |
tree | 967fc20530c0c00fc1670afcc50ea17260b95260 /node | |
parent | cc303017c3f145441e583b5bb10ee3070b44cc50 (diff) | |
download | dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.gz dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.bz2 dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.lz dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.xz dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.zst dexon-24b9860c1bc214d2db943bc69117818311406bdb.zip |
cmd/geth, node: surface geth architecture into version (#13866)
Diffstat (limited to 'node')
-rw-r--r-- | node/config.go | 2 | ||||
-rw-r--r-- | node/node.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/node/config.go b/node/config.go index 608c9a6b4..b060b05f2 100644 --- a/node/config.go +++ b/node/config.go @@ -266,7 +266,7 @@ func (c *Config) NodeName() string { if c.Version != "" { name += "/v" + c.Version } - name += "/" + runtime.GOOS + name += "/" + runtime.GOOS + "-" + runtime.GOARCH name += "/" + runtime.Version() return name } diff --git a/node/node.go b/node/node.go index c7e28af37..afb676b7f 100644 --- a/node/node.go +++ b/node/node.go @@ -173,7 +173,7 @@ func (n *Node) Start() error { MaxPendingPeers: n.config.MaxPendingPeers, } running := &p2p.Server{Config: n.serverConfig} - log.Info(fmt.Sprint("instance:", n.serverConfig.Name)) + log.Info("Starting peer-to-peer node", "instance", n.serverConfig.Name) // Otherwise copy and specialize the P2P configuration services := make(map[reflect.Type]Service) |