dennis-tra / nebula

🌌 A network agnostic DHT crawler, monitor, and measurement tool that exposes timely information about DHT networks.
Apache License 2.0
295 stars 30 forks source link

Use proper user agent #16

Closed dennis-tra closed 1 year ago

dennis-tra commented 2 years ago

Libp2p allows to configure a user agent via libp2p.UserAgent(...).

I'm thinking of using nebula-crawler/{version} while {version} should come from a central source.

dennis-tra commented 1 year ago

Already done here: https://github.com/dennis-tra/nebula-crawler/blob/216bf4277c8f626a79ffb470ddc773b7e1f7aad0/pkg/crawl/scheduler.go#L97