cmd/geth, node: surface geth architecture into version (#13866)
This commit is contained in:
committed by
Felix Lange
parent
cc303017c3
commit
24b9860c1b
@ -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
|
||||
}
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user