- 05 Jan, 2015 13 commits
-
-
Juan Batiz-Benet authored
use dht bootstrap. there is an edge case where the dht is tiny (1?) and we have 0 bootstrap peers. we should probably _inform_ the user, but this may be more a webui or command thing.
-
Juan Batiz-Benet authored
This also makes it an Error to find a peer.
-
Juan Batiz-Benet authored
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
This is causing test failures because tests don't usually have "/-/-" format. we can decide whether or not to allow keys without validators, but for now removing. cc @whyrusleeping
-
Juan Batiz-Benet authored
mocknet indeterminism screwed this test up. that's twice it's bitten us. let's not let it do it a third time. cc @briantigerchow omg.
-
Juan Batiz-Benet authored
TestGetFailures may just be operating very slowly, instead of completely failing. Right now it gets caught on travis often. not sure if its actually wrong.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 02 Jan, 2015 14 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
The crypto package moves into p2p. Nothing in it so far is ipfs specific; everything is p2p-general.
-
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.
-
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
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
-
Jeromy authored
-
Jeromy authored
Also remove older useless code.
-
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
-
- 24 Dec, 2014 13 commits
-
-
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
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
TestProversMany still fails
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
odd behavior: only one dht (the last one) is seeing changes to its routing table.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
i made a separate function because we may want to update our routing table based on "closer peers". maybe not-- these could all be lies.
-