doc(bitswap:strat) add note to remove blocks from peer's wantlist after sending
doc(bitswap:strat) add note to remove blocks from peer's wantlist after sending
Brian Tiger Chow committed
Sep 22, 2014 at 03:15 UTC
b85d1554cc3f3de3ce3c692723730e3d587c2027
1 file changed
+3
exchange/bitswap/strategy/strategy.go
+3
@@ -89,6 +89,9 @@ func (s *strategist) MessageSent(p *peer.Peer, m bsmsg.BitSwapMessage) error {
89
for _, block := range m.Blocks() {
90
l.SentBytes(len(block.Data))
91
}
92
+
93
+ // TODO remove these blocks from peer's want list
94
+
95
return nil
96
}
97