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 14 commits 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"

dependabot bot and others added 13 commits January 3, 2024 17:14
Bumps [github.com/dvsekhvalnov/jose2go](https://github.com/dvsekhvalnov/jose2go) from 1.5.0 to 1.6.0.
- [Commits](dvsekhvalnov/jose2go@v1.5...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/dvsekhvalnov/jose2go
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.0 to 1.61.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.60.0...v1.61.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.18.0.
- [Commits](golang/crypto@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@freak12techno freak12techno force-pushed the add-custom-user-agent branch from fcef031 to 9ba595a Compare June 8, 2024 15:21
@ironman0x7b2 ironman0x7b2 self-requested a review as a code owner January 27, 2025 17:29
@ironman0x7b2 ironman0x7b2 force-pushed the development branch 2 times, most recently from bac6401 to e7a2636 Compare February 25, 2025 14:03
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
2 participants