dennis-tra / nebula

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

bump quic-go to 0.37+ for go 1.21+ #46

Open q9f opened 9 months ago

q9f commented 9 months ago

nebula crawler no longer compiles on latest go

go install github.com/dennis-tra/nebula-crawler/cmd/nebula@latest
[...]
# github.com/quic-go/quic-go/internal/qtls
.go/pkg/mod/github.com/quic-go/quic-go@v0.33.0/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration
dennis-tra commented 9 months ago

Hi @q9f, That's partially intended because I want to support an older quic version (the non quic-v1 transport). Many peers in the IPFS DHT are still on older versions.

There's still TCP but I wanted to analyse how many peers Nebula wouldn't be able to connect before updating go-libp2p