nebula icon indicating copy to clipboard operation
nebula copied to clipboard

bump quic-go to 0.37+ for go 1.21+

Open q9f opened this issue 2 years ago • 1 comments

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/[email protected]/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

q9f avatar Nov 21 '23 14:11 q9f

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

dennis-tra avatar Nov 21 '23 17:11 dennis-tra