- 24 Jan, 2015 4 commits
-
-
Jeromy authored
-
Juan Batiz-Benet authored
-
Jeromy authored
-
Jeromy authored
-
- 23 Jan, 2015 10 commits
-
-
Juan Batiz-Benet authored
Many times, a node will start up only to shut down immediately. In these cases, reproviding is costly to both the node, and the rest of the network. Also note: the probability of a node being up another minute increases with uptime. TODO: maybe this should be 5 * time.Minute
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Moved it to its own package to isolate scope.
-
Juan Batiz-Benet authored
s/kademlia calls for makign sure to query all peers we have in our routing table, not just those closest. this helps ensure most queries resolve properly.
-
Juan Batiz-Benet authored
When some queries finished, but we got no result, it should be a simple NotFoundError. Only when every single query ended in error do we externalize those to the client, in case something major is going wrong
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 21 Jan, 2015 1 commit
-
-
Brian Tiger Chow authored
-
- 19 Jan, 2015 4 commits
-
-
Juan Batiz-Benet authored
This commit moves the record validation/verification from dht/ into the new record/ packaage. Validator object -- which is merely a map of ValidatorFuncs -- with a VerifyRecord cc @whyrusleeping
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
this time, without loading the private key on every startup
-
- 18 Jan, 2015 1 commit
-
-
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 4 commits
- 13 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 10 Jan, 2015 2 commits
- 05 Jan, 2015 12 commits
-
-
Juan Batiz-Benet authored
-
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
-