- 11 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
new Service interface
-
- 25 Sep, 2014 2 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
Rather than pushing errors back down to lower layers, propagate the errors upward. This commit adds a `ReceiveError` method to BitSwap's network receiver. Still TODO: rm the error return value from: net.service.handler.HandleMessage This is inspired by delegation patterns in found in the wild.
-
- 22 Sep, 2014 8 commits
-
-
Brian Tiger Chow authored
changing the bitswap interace breaks tests and makes things a bit difficult going forward. I think I have a temporary solution to replace the async method. this commit partially reverts changes from: ec50703395098f75946f0bad01816cc54ab18a58 https://github.com/jbenet/go-ipfs/commit/ec50703395098f75946f0bad01816cc54ab18a58
-
Juan Batiz-Benet authored
@perfmode using non-async version as apparently there's a bug in async. will look into it.
-
Juan Batiz-Benet authored
@perfmode boom
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
style(exch:bitswap) rename NetMessage adapter impl
-
Brian Tiger Chow authored
yay deleting code.
-
Brian Tiger Chow authored
didn't run tests after the refactor. apologies.
-
Brian Tiger Chow authored
Move go-ipfs/bitswap package to go-ipfs/exchange/bitswap * Delineates the difference between the generic exchange interface and implementations (eg. BitSwap protocol) Thus, the bitswap protocol can be refined without having to overthink how future exchanges will work. Aspects common to BitSwap and other exchanges can be extracted out to the exchange package in piecemeal. Future exchange implementations can be placed in sibling packages next to exchange/bitswap. (eg. exchange/multilateral)
-