- 02 Feb, 2015 5 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
log(bitswap) remove ambiguous event
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 30 Jan, 2015 4 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 24 Jan, 2015 4 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
@jbenet @whyrusleeping
-
Juan Batiz-Benet authored
With these notifications, bitswap can reclaim all resources for any outstanding work for a peer. cc @briantigerchow @whyrusleeping
-
Brian Tiger Chow authored
-
- 22 Jan, 2015 4 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 19 Jan, 2015 2 commits
-
-
Brian Tiger Chow authored
@whyrusleeping
-
Brian Tiger Chow authored
Before, the engine worker would pop a task and block on send to the bitswap worker even if the bitswap worker wasn't to receive. Since the task could have been invalidated during this blocking send, a small number of stale (already acquired) blocks would be send to partners. Now, tasks are only popped off of the queue when bitswap is ready to send them over the wire. This is accomplished by removing the outboxChanBuffer and implementing a two-phase communication sequence.
-
- 18 Jan, 2015 2 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 15 Jan, 2015 2 commits
- 11 Jan, 2015 1 commit
-
-
Jeromy authored
-
- 05 Jan, 2015 5 commits
-
-
Juan Batiz-Benet authored
Bitswap doesn't usually care about dialing. the underlying network adapter can make sure of that.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 02 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
I think it's time to move a lot of the peer-to-peer networking but-not-ipfs-specific things into its own package: p2p. This could in the future be split off into its own library. The first thing to go is the peer.
-
- 24 Dec, 2014 1 commit
-
-
Brian Tiger Chow authored
-
- 23 Dec, 2014 9 commits
-
-
Brian Tiger Chow authored
@jbenet @whyrusleeping This commit replaces peer.PeerInfo with peer.ID in the bitswap package
-
Brian Tiger Chow authored
@jbenet @whyrusleeping the next commit will change bitswap.Network.FindProviders to only deal with IDs
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
cc @whyrusleeping
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
This reverts commit bf88f1aec5e3d397f97d64de52b52686cc7a8c8f.
-
Juan Batiz-Benet authored
Had to change the network interface from DialPeer(peer.ID) to DialPeer(peer.PeerInfo), so that addresses of a provider are handed to the network. @maybebtc and I are discussing whether this should go all the way down to the network, or whether the network _should always work_ with just an ID (which means the network needs to be able to resolve ID -> Addresses, using the routing system. This latter point might mean that "routing" might need to break down into subcomponents. It's a bit sketchy that the Network would become smarter than just dial/listen and I/O, but maybe there's a distinction between net.Network, and something like a peernet.Network that has routing built in...)
-