License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
vendor forked pubsub to get SubOnceEach
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This patch was generated by running:
$ godep update github.com/maybebtc/logrus
Without this, `godep restore` fails like this:
```
$ LANG=C godep restore
fatal: reference is not a tree: 005463f8fb49c4a6f36181e05157e111ec5cf8a3
godep: restore: exit status 128
```
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
I broke out multiaddr/net to its own package so
that multiaddr parsing could remain lean. multiaddr-net
will vendor special implementations of protocols (like utp)
allow framework to add level to log so level can be applied when using
text formatter
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
impl errorf
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
return a debug error
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
use a third-party pubsub library for internal communications
Insights:
* Within bitswap, the actors don't need anything more than simple pubsub
behavior. Wrapping and unwrapping messages proves unneccessary.
Changes:
* Simplifies the interface for both actors calling GetBlock and actors
receiving blocks on the network
* Leverages a well-tested third-party pubsub library
Design Goals:
* reduce complexity
* extract implementation details (wrapping and unwrapping data, etc)
from bitswap and let bitswap focus on composition of core algorithms
operations
procedure is to execute
```
cd my/github.com/jbenet/go-multiaddr
git pull
cd my/github.com/jbenet/go-ipfs
godep update github.com/jbenet/go-multiaddr
```