Skip to content

Commit a56b89a

Browse files
committed
all: rename advertised client identifier: Prlx -> Parallax
1 parent 4d06067 commit a56b89a

File tree

8 files changed

+7
-11
lines changed

8 files changed

+7
-11
lines changed

cmd/faucet/faucet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ type wsConn struct {
221221
func newFaucet(genesis *core.Genesis, port int, enodes []*enode.Node, network uint64, stats string, ks *keystore.KeyStore, index []byte) (*faucet, error) {
222222
// Assemble the raw devp2p protocol stack
223223
stack, err := node.New(&node.Config{
224-
Name: "geth",
224+
Name: "parallax",
225225
Version: params.VersionWithCommit(gitCommit, gitDate),
226226
DataDir: filepath.Join(os.Getenv("HOME"), ".faucet"),
227227
P2P: p2p.Config{

cmd/prlx/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import (
4848
)
4949

5050
const (
51-
clientIdentifier = "prlx" // Client identifier to advertise over the network
51+
clientIdentifier = "Parallax" // Client identifier to advertise over the network
5252
)
5353

5454
var (

cmd/prlx/misccmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var (
3838
VersionCheckVersionFlag = cli.StringFlag{
3939
Name: "check.version",
4040
Usage: "Version to check",
41-
Value: fmt.Sprintf("Prlx/v%v/%v-%v/%v",
41+
Value: fmt.Sprintf("Parallax/v%v/%v-%v/%v",
4242
params.VersionWithCommit(gitCommit, gitDate),
4343
runtime.GOOS, runtime.GOARCH, runtime.Version()),
4444
}

miner/stress/1559/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func makeMiner(genesis *core.Genesis) (*node.Node, *prl.Parallax, error) {
222222
datadir, _ := os.MkdirTemp("", "")
223223

224224
config := &node.Config{
225-
Name: "prlx",
225+
Name: "parallax",
226226
Version: params.Version,
227227
DataDir: datadir,
228228
P2P: p2p.Config{

miner/stress/xhash/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func makeMiner(genesis *core.Genesis) (*node.Node, *prl.Parallax, error) {
154154
datadir, _ := os.MkdirTemp("", "")
155155

156156
config := &node.Config{
157-
Name: "prlx",
157+
Name: "parallax",
158158
Version: params.Version,
159159
DataDir: datadir,
160160
P2P: p2p.Config{

node/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,6 @@ func (c *Config) ExtRPCEnabled() bool {
289289
// NodeName returns the devp2p node identifier.
290290
func (c *Config) NodeName() string {
291291
name := c.name()
292-
// Backwards compatibility: previous versions used title-cased "Prlx", keep that.
293-
if name == "prlx" || name == "prlx-testnet" {
294-
name = "Prlx"
295-
}
296292
if c.UserIdent != "" {
297293
name += "/" + c.UserIdent
298294
}

prlx/prlx_android.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
package prlx
2020

2121
// clientIdentifier is a hard coded identifier to report into the network.
22-
var clientIdentifier = "PrlxDroid"
22+
var clientIdentifier = "ParallaxAndroid"

prlx/prlx_other.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
package prlx
2020

2121
// clientIdentifier is a hard coded identifier to report into the network.
22-
var clientIdentifier = "PrlxMobile"
22+
var clientIdentifier = "ParallaxMobile"

0 commit comments

Comments
 (0)