- 02 Jan, 2015 20 commits
-
-
Juan Batiz-Benet authored
swarmnet is a better name for the package, because it's just a Network implemented with a Swarm. (ipfsnet will be something slightly different).
-
Juan Batiz-Benet authored
this is the leadup into NAT traversal. note: doesn't work yet. hangs the test.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
I needed the network implementation in its own package, because I'll be writing several services that will plug into _it_ that shouldn't be part of the core net package. and then there were dependency conflicts. yay. mux + identify are good examples of what i mean.
-
Juan Batiz-Benet authored
blockstore: suppress exchange error
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
rewrite of provides to better select peers to send RPCs to
-
Jeromy authored
-
Jeromy authored
Also remove older useless code.
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
-
Juan Batiz-Benet authored
The test was occasionally passing because: - it called `putLocal(key, val)` - GetValue calls `getLocal(key)` optimistically. cc @whyrusleeping
-
Jeromy authored
-
Jeromy authored
refactor test peer creation to be deterministic and reliable a bit of cleanup trying to figure out TestGetFailure add test to verify deterministic peer creation switch put RPC over to use getClosestPeers rm 0xDEADC0DE fix queries not searching peer if its not actually closer
-
Juan Batiz-Benet authored
peerstream transports
-
Juan Batiz-Benet authored
go-peerstream update to use github.com/hashicorp/yamux
-
Juan Batiz-Benet authored
clients were already accessing secio in one thread, but it's safer to make sure it _is_ threadsafe
-
- 01 Jan, 2015 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
used to return io.ErrShortBuffer, but this makes client code much more complicated. we're already allocating buffers when it's too large, so might as well just keep it for later.
-
Juan Batiz-Benet authored
peerstream was updated to use pluggable transports, including muxado. The interface was also simplified slightly.
-
- 31 Dec, 2014 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
bugfix in spdystream
-
Juan Batiz-Benet authored
and updated go-peerstream cc @whyrusleeping
-
- 30 Dec, 2014 2 commits
-
-
Brian Tiger Chow authored
fix panic in net diag
-
Jeromy authored
-
- 28 Dec, 2014 7 commits
-
-
Juan Batiz-Benet authored
updated go-peerstream (close fix)
-
Juan Batiz-Benet authored
-
Brian Tiger Chow authored
epictest race fix
-
Brian Tiger Chow authored
-
Juan Batiz-Benet authored
@maybebtc the error was not inside mocknet. the error is in assuming the peers / nets returned follow the same order. See: - https://github.com/jbenet/go-ipfs/blob/master/epictest/addcat_test.go#L100 - https://gist.github.com/jbenet/a39bb9d2f16532a03bb8 if you want the results to be sorted by peer.ID before they are returned, we can totally do that, but that's probably an unsafe assumption to make in general-- if you do your initialization async, the number of networks or peers may have changed between the two calls. LMK what you prefer. (thank you golang map chaosmonkey ;)
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 26 Dec, 2014 1 commit
-
-
Brian Tiger Chow authored
frac ctx - skip time tests in travis
-
- 25 Dec, 2014 4 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
hotfix(core/mock) set Network field
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
use `net/mocknet` in integration tests
-