mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
Update Version
This commit is contained in:
parent
00aa98f4da
commit
c4a6356b62
2 changed files with 4 additions and 4 deletions
|
|
@ -832,7 +832,7 @@ func SetP2PConfig(ctx *cli.Context, cfg *p2p.Config) {
|
||||||
if lightClient {
|
if lightClient {
|
||||||
ethPeers = 0
|
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)
|
log.Info("Maximum peer count", "ETHF", ethPeers, "LES", lightPeers, "total", cfg.MaxPeers)
|
||||||
|
|
||||||
if ctx.GlobalIsSet(MaxPendingPeersFlag.Name) {
|
if ctx.GlobalIsSet(MaxPendingPeersFlag.Name) {
|
||||||
|
|
|
||||||
|
|
@ -227,15 +227,15 @@ func DefaultWSEndpoint() string {
|
||||||
// NodeName returns the devp2p node identifier.
|
// NodeName returns the devp2p node identifier.
|
||||||
func (c *Config) NodeName() string {
|
func (c *Config) NodeName() string {
|
||||||
name := c.name()
|
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" {
|
if name == "getf" || name == "getf-testnet" {
|
||||||
name = "Geth"
|
name = "GetF"
|
||||||
}
|
}
|
||||||
if c.UserIdent != "" {
|
if c.UserIdent != "" {
|
||||||
name += "/" + c.UserIdent
|
name += "/" + c.UserIdent
|
||||||
}
|
}
|
||||||
if c.Version != "" {
|
if c.Version != "" {
|
||||||
name += "/v" + c.Version
|
name += "/v1.0.0"
|
||||||
}
|
}
|
||||||
name += "/" + runtime.GOOS + "-" + runtime.GOARCH
|
name += "/" + runtime.GOOS + "-" + runtime.GOARCH
|
||||||
name += "/" + runtime.Version()
|
name += "/" + runtime.Version()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue