go-bitswap
go-bitswap copied to clipboard
Don't decrease split on unique message
We should decrease the split when we fail to receive a message. Otherwise, we'll get a minimum of 50% duplicate blocks if everyone has every block.
As far as I can tell, not receiving a message causes us to broadcast the request, receive a bunch of duplicate blocks, and then increase the split. This seems backwards.