mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
doc(bitswap:strat) add note to remove blocks from peer's wantlist after
sending
This commit is contained in:
@ -89,6 +89,9 @@ func (s *strategist) MessageSent(p *peer.Peer, m bsmsg.BitSwapMessage) error {
|
||||
for _, block := range m.Blocks() {
|
||||
l.SentBytes(len(block.Data))
|
||||
}
|
||||
|
||||
// TODO remove these blocks from peer's want list
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user