kbala444 / bssim

Simulator for bitswap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`go build` doesn't work

rht opened this issue · comments

commented

as of 6b3f826

because main.go doesn't use go-ipfs in Godeps. Instead, it uses the one from go get.

i added godeps correctly now i hope, does godep go build work now?

commented

still doesn't work

./main.go:441: undefined: decision.Strats
./main.go:452: too many arguments in call to "github.com/ipfs/go-ipfs/exchange/bitswap".Session
./metrics.go:263: undefined: mocknet.MeasuredNet

and main.go still doesn't use go-ipfs from Godeps, which I think has to point to github.com/heems/go-ipfs (test2 branch).

commented

"github.com/mattn/go-sqlite3" needs to be put into godeps as well

maybe pull the make vendor from go-ipfs.

commented

Works now, so it has to be godep go build, not just go build.