cmd/geth, node: surface geth architecture into version (#13866)

This commit is contained in:
Péter Szilágyi
2017-04-05 22:51:01 +03:00
committed by Felix Lange
parent cc303017c3
commit 24b9860c1b
4 changed files with 8 additions and 5 deletions

View File

@ -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
}