From c4a6356b62fa8985cdfa6ee0a3806768398079d7 Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 23 Apr 2018 21:03:43 +0700 Subject: [PATCH] Update Version --- cmd/utils/flags.go | 2 +- node/config.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 1e2e8e681e..8fab5d74be 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -832,7 +832,7 @@ func SetP2PConfig(ctx *cli.Context, cfg *p2p.Config) { if lightClient { ethPeers = 0 } - log.Info("Welcome to GetF of EtherFact", "Go-EtherFact", "Beta") + log.Info("Welcome to GetF of EtherFact Version v1.0.0 Good Luck and Mining") log.Info("Maximum peer count", "ETHF", ethPeers, "LES", lightPeers, "total", cfg.MaxPeers) if ctx.GlobalIsSet(MaxPendingPeersFlag.Name) { diff --git a/node/config.go b/node/config.go index 91bf29397f..5cfe833860 100644 --- a/node/config.go +++ b/node/config.go @@ -227,15 +227,15 @@ func DefaultWSEndpoint() string { // NodeName returns the devp2p node identifier. func (c *Config) NodeName() string { name := c.name() - // Backwards compatibility: previous versions used title-cased "Geth", keep that. + // Backwards compatibility: previous versions used title-cased "GetF", keep that. if name == "getf" || name == "getf-testnet" { - name = "Geth" + name = "GetF" } if c.UserIdent != "" { name += "/" + c.UserIdent } if c.Version != "" { - name += "/v" + c.Version + name += "/v1.0.0" } name += "/" + runtime.GOOS + "-" + runtime.GOARCH name += "/" + runtime.Version()