Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

undefined #4

Open
xaionaro opened this issue Jul 1, 2019 · 1 comment
Open

undefined #4

xaionaro opened this issue Jul 1, 2019 · 1 comment
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@xaionaro
Copy link

xaionaro commented Jul 1, 2019

# github.com/libp2p/go-utp-transport
../../libp2p/go-utp-transport/utp.go:67:59: undefined: "github.com/libp2p/go-libp2p-transport".DialOpt
../../libp2p/go-utp-transport/utp.go:67:73: undefined: "github.com/libp2p/go-libp2p-transport".Dialer
../../libp2p/go-utp-transport/utp.go:84:59: undefined: "github.com/libp2p/go-libp2p-transport".DialOpt
../../libp2p/go-utp-transport/utp.go:103:3: cannot use t (type *UtpTransport) as type "github.com/libp2p/go-libp2p-core/transport".Transport in field value:
        *UtpTransport does not implement "github.com/libp2p/go-libp2p-core/transport".Transport (missing CanDial method)
../../libp2p/go-utp-transport/utp.go:128:10: undefined: "github.com/libp2p/go-libp2p-transport".ConnWrap
../../libp2p/go-utp-transport/utp.go:145:10: undefined: "github.com/libp2p/go-libp2p-transport".ConnWrap
../../libp2p/go-utp-transport/utp.go:167:5: cannot use (*UtpTransport)(nil) (type *UtpTransport) as type "github.com/libp2p/go-libp2p-core/transport".Transport in assignment:
        *UtpTransport does not implement "github.com/libp2p/go-libp2p-core/transport".Transport (missing CanDial method)
../../libp2p/go-utp-transport/utp.go:172:8: undefined: utp.Addr
../../libp2p/go-utp-transport/utp.go:209:10: undefined: utp.Addr
@Stebalien
Copy link
Member

Unfortunately, this package fell by the wayside as we misattributed a bug in our multiplexers to it (IIRC). It will need to be updated for the latest go-libp2p-core/transport changes before it can be used.

@Stebalien Stebalien added the kind/bug A bug in existing code (including security flaws) label Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

2 participants