refac(exchange) bitswap -> exchange/bitswap
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)
parents
Showing
bitswap.go
0 → 100644
message/Makefile
0 → 100644
message/message.go
0 → 100644
message/message.pb.go
0 → 100644
message/message.proto
0 → 100644
message/message_test.go
0 → 100644
network/forwarder.go
0 → 100644
network/forwarder_test.go
0 → 100644
network/interface.go
0 → 100644
network/network_adapter.go
0 → 100644
offline.go
0 → 100644
offline_test.go
0 → 100644
strategy/interface.go
0 → 100644
strategy/ledger.go
0 → 100644
strategy/ledger_test.go
0 → 100644
strategy/math.go
0 → 100644
strategy/math_test.go
0 → 100644
strategy/strategy.go
0 → 100644
strategy/strategy_test.go
0 → 100644
Please register or sign in to comment