libp2p / hydra-booster

A DHT Indexer node & Peer Router
Other
87 stars 5 forks source link

Error while 'go get ...' #165

Open avisheksanvas opened 2 years ago

avisheksanvas commented 2 years ago

I get this erros while trying to go get as instructed. I tried go version 1.17.X, 1.16.x and 1.18.x as well.

asanthaliya@ipfs-vm4:~$ go version go version go1.17.8 linux/amd64 asanthaliya@ipfs-vm4:~$ asanthaliya@ipfs-vm4:~$ asanthaliya@ipfs-vm4:~$ asanthaliya@ipfs-vm4:~$ go get github.com/libp2p/hydra-booster

github.com/libp2p/go-libp2p-core/crypto

go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:21:35: too many arguments in call to btcec.NewPrivateKey have (secp256k1.KoblitzCurve) want () go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:36:36: too many arguments in call to btcec.PrivKeyFromBytes have (secp256k1.KoblitzCurve, []byte) want ([]byte) go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:42:29: too many arguments in call to btcec.ParsePubKey have ([]byte, secp256k1.KoblitzCurve) want ([]byte) go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:73:36: (secp256k1.PrivateKey)(k).Sign undefined (type *secp256k1.PrivateKey has no field or method Sign) go/src/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go:108:14: undefined: btcec.ParseDERSignature

github.com/jackc/puddle/puddleg

go/src/github.com/jackc/puddle/puddleg/pool.go:26:20: syntax error: unexpected any, expecting ] go/src/github.com/jackc/puddle/puddleg/pool.go:29:19: syntax error: unexpected any, expecting ] go/src/github.com/jackc/puddle/puddleg/pool.go:32:17: syntax error: unexpected any, expecting ] go/src/github.com/jackc/puddle/puddleg/pool.go:41:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:49:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:58:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:67:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:76:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:84:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:94:20: syntax error: unexpected [, expecting comma or ) go/src/github.com/jackc/puddle/puddleg/pool.go:94:20: too many errors asanthaliya@ipfs-vm4:~$