- 18 Jan, 2015 7 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
refactor: peerRequestQueue it's a mistake to make one queue to fit all. Go's lack of algebraic types turns a generalized queue into a monstrosity of type checking/casting. Better to have individual queues for individual purposes. Conflicts: exchange/bitswap/decision/bench_test.go exchange/bitswap/decision/tasks/task_queue.go fix(bitswap.decision.PRQ): if peers match, always return result of pri comparison fix(bitswap.decision.Engine): push to the queue before notifying TOCTOU bug 1. client notifies 2. worker checks (finds nil) 3. worker sleeps 3. client pushes (worker missed the update) test(PQ): improve documentation and add test test(bitswap.decision.Engine): handling received messages License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com> Conflicts: exchange/bitswap/decision/taskqueue.go
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 16 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
mitigated adding our own addresses where received from peers see #573
-
- 15 Jan, 2015 2 commits
- 11 Jan, 2015 1 commit
-
-
Jeromy authored
-
- 05 Jan, 2015 10 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Bitswap doesn't usually care about dialing. the underlying network adapter can make sure of that.
-
Brian Tiger Chow authored
@jbenet @whyrusleeping This bug (missing return) could tie up the client worker and cause operations to come to a halt.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 02 Jan, 2015 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
The net package is the next to move. It will be massaged a bit still to fix the Network / "NetworkBackend" conflict.
-
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 11 commits
-
-
Brian Tiger Chow authored
cc @jbenet
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
@whyrusleeping @jbenet this is a WIP with the DHT. wip License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com> Conflicts: epictest/addcat_test.go exchange/bitswap/testnet/peernet.go exchange/bitswap/testutils.go routing/mock/centralized_server.go routing/mock/centralized_test.go routing/mock/interface.go fix(routing/mock) fill in function definition
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
so it'll be easier to create another implementation using the new mocknet
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 23 Dec, 2014 5 commits
-
-
Brian Tiger Chow authored
-
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
-