docs icon indicating copy to clipboard operation
docs copied to clipboard

Incorrect go version requirement

Open criadoperez opened this issue 1 year ago • 0 comments

Documentation here specifies the minimum go version is 1.19 but is in fact 1.20

$ go build -o libp2p-node      
                                                                                          
# github.com/quic-go/quic-go/internal/qtls
/home/alejandro/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/go_oldversion.go:5:13: cannot use "The version of quic-go you're using can't be built using outdated Go versions. 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 using outdated Go...) as int value in variable declaration
note: module requires Go 1.20

criadoperez avatar Sep 25 '23 09:09 criadoperez

Now that all transports are expose all required features, this is less of an issue (no more HasEncryption, HasMultiplexing, IsReliable). However, we will likely still want "traits" for optional (but useful) features.

Stebalien avatar Jun 07 '18 17:06 Stebalien

One example would be https://github.com/libp2p/go-libp2p-swarm/pull/57#discussion_r194146101

magik6k avatar Jun 09 '18 12:06 magik6k

Being able to send packets "out of band" or unencrypted would be nice.

paralin avatar Jun 15 '18 21:06 paralin