To add bandwidth metrics #366
Annotations
10 errors and 1 warning
daemon.go#L93
cannot use rm (variable of type "github.com/chiangmaioneluv/go-libp2p/core/network".ResourceManager) as "github.com/libp2p/go-libp2p/core/network".ResourceManager value in argument to libp2p.ResourceManager: "github.com/chiangmaioneluv/go-libp2p/core/network".ResourceManager does not implement "github.com/libp2p/go-libp2p/core/network".ResourceManager (wrong type for method OpenConnection)
|
daemon.go#L105
cannot use d.DHTRoutingFactory(dhtOpts) (value of type func("github.com/chiangmaioneluv/go-libp2p/core/host".Host) ("github.com/chiangmaioneluv/go-libp2p/core/routing".PeerRouting, error)) as "github.com/libp2p/go-libp2p/config".RoutingC value in argument to libp2p.Routing
|
daemon.go#L110
cannot use d.bandwidth_metrics (variable of type *"github.com/chiangmaioneluv/go-libp2p/core/metrics".BandwidthCounter) as "github.com/libp2p/go-libp2p/core/metrics".Reporter value in argument to libp2p.BandwidthReporter: *"github.com/chiangmaioneluv/go-libp2p/core/metrics".BandwidthCounter does not implement "github.com/libp2p/go-libp2p/core/metrics".Reporter (wrong type for method GetBandwidthByPeer)
|
daemon.go#L119
cannot use h (variable of type "github.com/libp2p/go-libp2p/core/host".Host) as "github.com/chiangmaioneluv/go-libp2p/core/host".Host value in assignment: "github.com/libp2p/go-libp2p/core/host".Host does not implement "github.com/chiangmaioneluv/go-libp2p/core/host".Host (wrong type for method ConnManager)
|
daemon.go#L143
cannot use h (variable of type "github.com/chiangmaioneluv/go-libp2p/core/host".Host) as "github.com/libp2p/go-libp2p/core/host".Host value in argument to dht.New: "github.com/chiangmaioneluv/go-libp2p/core/host".Host does not implement "github.com/libp2p/go-libp2p/core/host".Host (wrong type for method ConnManager)
|
daemon.go#L148
cannot use dhtInst (variable of type *dht.IpfsDHT) as "github.com/chiangmaioneluv/go-libp2p/core/routing".PeerRouting value in return statement: *dht.IpfsDHT does not implement "github.com/chiangmaioneluv/go-libp2p/core/routing".PeerRouting (wrong type for method FindPeer)
|
daemon.go#L172
cannot use d.host (variable of type "github.com/chiangmaioneluv/go-libp2p/core/host".Host) as "github.com/libp2p/go-libp2p/core/host".Host value in argument to ps.NewFloodSub: "github.com/chiangmaioneluv/go-libp2p/core/host".Host does not implement "github.com/libp2p/go-libp2p/core/host".Host (wrong type for method ConnManager)
|
daemon.go#L180
cannot use d.host (variable of type "github.com/chiangmaioneluv/go-libp2p/core/host".Host) as "github.com/libp2p/go-libp2p/core/host".Host value in argument to ps.NewGossipSub: "github.com/chiangmaioneluv/go-libp2p/core/host".Host does not implement "github.com/libp2p/go-libp2p/core/host".Host (wrong type for method ConnManager)
|
dht.go#L72
cannot use p (variable of type "github.com/chiangmaioneluv/go-libp2p/core/peer".ID) as "github.com/libp2p/go-libp2p/core/peer".ID value in argument to d.dht.FindPeer
|
dht.go#L77
cannot use pi (variable of type "github.com/libp2p/go-libp2p/core/peer".AddrInfo) as "github.com/chiangmaioneluv/go-libp2p/core/peer".AddrInfo value in argument to dhtResponsePeerInfo
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading