node/config.go — Version Comparison
|
v1.17.3 |
v1.17.4 |
| Branch |
etc/v1.17.3-full-node |
etc/v1.17.4-full-node |
| Delta |
+3 -2 |
+3 -2 |
ETC delta on v1.17.3 (+3 -2)
diff --git a/node/config.go b/node/config.go
index 255b0f0aa..0672c6c4e 100644
--- a/node/config.go
+++ b/node/config.go
@@ -317,9 +317,10 @@ func (c *Config) ExtRPCEnabled() bool {
// NodeName returns the devp2p node identifier.
func (c *Config) NodeName() string {
name := c.name()
- // Backwards compatibility: previous versions used title-cased "Geth", keep that.
+ // The on-disk instance dir name is "geth" (see databaseIdentifier) for datadir
+ // compatibility with go-ethereum/core-geth, but advertise this node as "getc".
if name == "geth" || name == "geth-testnet" {
- name = "Geth"
+ name = "getc"
}
if c.UserIdent != "" {
name += "/" + c.UserIdent
ETC delta on v1.17.4 (+3 -2)
diff --git a/node/config.go b/node/config.go
index 77ca78a47..4f662a65b 100644
--- a/node/config.go
+++ b/node/config.go
@@ -313,9 +313,10 @@ func (c *Config) ExtRPCEnabled() bool {
// NodeName returns the devp2p node identifier.
func (c *Config) NodeName() string {
name := c.name()
- // Backwards compatibility: previous versions used title-cased "Geth", keep that.
+ // The on-disk instance dir name is "geth" (see databaseIdentifier) for datadir
+ // compatibility with go-ethereum/core-geth, but advertise this node as "getc".
if name == "geth" || name == "geth-testnet" {
- name = "Geth"
+ name = "getc"
}
if c.UserIdent != "" {
name += "/" + c.UserIdent
← Back to Version Comparison