-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(node): adding agent version #379
Conversation
Signed-off-by: Yiannis Marangos <psyberbits@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I added the crate version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, thanks @guillaumemichel!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added also network name so the pattern now is lumina/{network}/{version}
Signed-off-by: Yiannis Marangos <psyberbits@gmail.com> Co-authored-by: Yiannis Marangos <psyberbits@gmail.com> Co-authored-by: zvolin <mac.zwolinski@gmail.com>
At ProbeLab we are measuring the Celestia network and producing weekly reports. We would like to include numbers on light nodes, however we noticed that Lumina nodes don't advertise an agent version through the libp2p identify protocol. So we cannot distinguish Lumina nodes, and we would like to include them in our statistics.
I added just the basic user agent, feel free to complete the PR and add more information, such as version number, build etc. For inspiration
celestia-node
uses the following user agent formatcelestia-node/celestia/light/v0.16.0/6744f64
.