feat(bitswap) broadcast block to routing, peers on receipt
Brian Tiger Chow committed
Sep 18, 2014 at 20:38 UTC
71aed6741328c0daa27fcb9134fa718fa4475976
1 file changed
+1
exchange/bitswap/bitswap.go
+1
@@ -118,6 +118,7 @@ func (bs *bitswap) ReceiveMessage(
118
for _, block := range incoming.Blocks() {
119
go bs.blockstore.Put(block) // FIXME(brian): err ignored
120
go bs.notifications.Publish(block)
121
+ go bs.HasBlock(ctx, block) // FIXME err ignored
122
}
123
}
124