Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Client Version Strings
Every client implementation of the Ethereum protocol – along with every version of it – has a human readable string identifier. Although this ID is exchanged in the P2P protocol, it itself isn't used by the protocol for anything, rather it enables easily localizing issues with a particular client, or a particular version of a client.
Still, there tools popping up that analyze and create various statistics about the network topology itself, which have a hard time conforming to the identifier/versioning schema employed by each implementation. To avoid requiring each such tool to implement a full ID parsing for every type of node in the network, this document outlines a suggested schema, part of which would be common among all implementations, and some would be specific to one or the other. This would allow simple tools to properly parse the common information out of each client's ID string, whereas more complex tools might also further inspect the client specific metadata.
Please note, this document should be perceived as a guideline at most, and definitely not a golden standard to be enforced by any implementation or tool. The goal is to aid the ecosystem relying on it, but it is not something set in stone.
Suggested identifier schema
All identifier strings should be a slash separated list of metadata fields:
metadata-1/metadata-2/.../metadata-n, where the first few fields are fixed among all clients, whereas the latter ones (both in meaning and in count) are up to each implementation to use as seen fit.
The fixed fields are:
- Display name of the client, without any version numbering
- Semantic version, prefixed with
v, optionally suffixed by
- Name of the operating system the client is running on
As there might be differences in implementation as to how one language or another retrieves the name of the operating system – among others – we recommend tools using the IDs to convert the strings internally to lowercase before making aggregations.
A few examples conforming to the above schema spec:
Geth/v1.3.3/darwin ++eth/v0.9.41-ed7a8a35/Windows Ethereum(J)/v1.0.0/Linux
Beside the above defined fixed metadata fields, an identifier string may contain arbitrarily many implementation specific metadata entries (the order and index of which should desirably be maintained by the developers of said client implementations). To help developers working on analysis tools have a central repository of the metadata semantics, the rest of this document describes the extra fields used by each implementation. Feel free to add your own implementation to the below list, but please maintain alphabetical ordering and please be concise.