@cryptotaxi247 / kubo / commits / 81da645ed

chore(bitswap) remove unused const

Brian Tiger Chow committed Sep 18, 2014 at 19:03 UTC 81da645ed6d0c0ec70170b6388e084f460838dd0
1 file changed -7
exchange/bitswap/bitswap.go
-7
@@ -28,13 +28,6 @@ type Routing interface {
28 Provide(key u.Key) error
29 }
30
31 -// TODO(brian): ensure messages are being received
32 -
33 -// PartnerWantListMax is the bound for the number of keys we'll store per
34 -// partner. These are usually taken from the top of the Partner's WantList
35 -// advertisements. WantLists are sorted in terms of priority.
36 -const PartnerWantListMax = 10
37 -
31 // NewSession initializes a bitswap session.
32 func NewSession(parent context.Context, s bsnet.NetworkService, p *peer.Peer, d ds.Datastore, directory Routing) exchange.Interface {
33