Skip to content
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: add custom user-agent #199

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

freak12techno
Copy link

@freak12techno freak12techno commented Jun 8, 2024

Fixes #193.

Uses a custom HTTP client that overrides the User-Agent header of all queries, when either querying the chain for info or doing transaction towards it.

Here's how nginx sees such a query (from nginx logs on my node I am running it against):

<IP> - - [08/Jun/2024:17:26:02 +0200] "POST / HTTP/1.1" 200 277 "-" "sentinel-dvpn-node/v0.7.1-14"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use a custom user-agent when broadcasting transactions/doing queries
1 participant