Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

why the double // in web3.version.node ? #10215

Closed
drandreaskrueger opened this issue Jan 18, 2019 · 2 comments
Closed

why the double // in web3.version.node ? #10215

drandreaskrueger opened this issue Jan 18, 2019 · 2 comments
Labels
Z1-question 🙋‍♀️ Issue is a question. Closer should answer.
Milestone

Comments

@drandreaskrueger
Copy link

The instance string is

Parity-Ethereum//v2.2.3-beta-6b0a280-20181130/x86_64-linux-gnu/rustc1.30.1

instead of

Parity-Ethereum/v2.2.3-beta-6b0a280-20181130/x86_64-linux-gnu/rustc1.30.1

like in

Geth/v1.8.14-stable-316fc7ec/linux-amd64/go1.10.3

curious: why the double // ?

@jam10o-new
Copy link
Contributor

The node in question here might have the Identity flag set to an empty string, or something along those lines.

@jam10o-new jam10o-new added the Z1-question 🙋‍♀️ Issue is a question. Closer should answer. label Jan 18, 2019
@5chdn 5chdn added this to the 2.4 milestone Feb 7, 2019
@shazow
Copy link

shazow commented May 8, 2019

Even setting --identity, the version string does not include the identity. Is this by design? Feels like a bug.

Parity

$ parity --identity=foo
...
> web3.version.node
"Parity-Ethereum//v2.4.5-unstable/x86_64-linux-gnu/rustc1.34.0"

Geth

$ geth --identity=foo
> web3.version.node
"Geth/foo/v1.9.0-unstable/linux-amd64/go1.12.1"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z1-question 🙋‍♀️ Issue is a question. Closer should answer.
Projects
None yet
Development

No branches or pull requests

4 participants