refactor(bitswap): add comments and extract testutils.go
Add comments to all exported functions, extract the utils for creating instances in testnet.go, moves integration tests to bitswap_test BREAKING CHANGE: removed one constant -- rebroadcastDelay -- which I believe was unused
Showing
... | ... | @@ -30,4 +30,9 @@ require ( |
github.com/libp2p/go-libp2p-routing v0.0.1 | ||
github.com/libp2p/go-testutil v0.0.1 | ||
github.com/multiformats/go-multiaddr v0.0.1 | ||
golang.org/x/crypto v0.0.0-20190506204251-e1dfcc566284 // indirect | ||
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect | ||
golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
golang.org/x/tools v0.0.0-20190509153222-73554e0f7805 // indirect | ||
) |
Please register or sign in to comment