Commit Graph

3469 Commits

Author SHA1 Message Date
Brian Tiger Chow
9dd12922b3 refactor(routing) expose Bootstrap() error on routing interface 2015-02-15 04:41:16 -08:00
Brian Tiger Chow
1dfcce9f5a fix(grc) move Bootstrap method onto routing interface 2015-02-15 04:41:16 -08:00
Brian Tiger Chow
2298cf66cf test GetPutRecord
validate doesn't work. the peer's public key is not present in the
peerstore.
2015-02-15 04:41:16 -08:00
Brian Tiger Chow
64a431dd32 ensure we only accept AddProvider records if the peer is the sender 2015-02-15 04:41:15 -08:00
Brian Tiger Chow
6b900d209b remove todo
this functionality is here as an optimization
2015-02-15 04:41:15 -08:00
Brian Tiger Chow
19eb35137b refactor(routing) rename grandcentral to supernode
thanks @mappum

remove .go-ipfs
2015-02-15 04:41:10 -08:00
Brian Tiger Chow
0918636651 feat(cmd/routingd) add executable 2015-02-14 14:13:57 -08:00
Brian Tiger Chow
c730e19b5f rm TODO (there's still one for verifying records) 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
71392dfd28 remove TODO
@jbenet when returning values for records, when would it make sense to
also return providers for the records?
2015-02-14 14:13:56 -08:00
Brian Tiger Chow
cfe3a637e4 log(gcr/s) remove local peer in message-received event 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
7ab01d4318 misc(gcr/s) rm TODO 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
0676a9b10b fix(gcr/s) defer log event 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
ba119fb1f7 doc(gcr/c) comment methods 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
770489ab2c fix(corerouting) remove TODO. no longer applies now that routing servers are specified manually 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
a6710e9f53 feat(gcr/s) comment 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
5caa179d69 refactor(gcr/s) extract provider key 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
ebd08f8194 refactor(gcr/s) move declaration 2015-02-14 14:13:56 -08:00
Brian Tiger Chow
450f21a545 fix(gcr/s) de-duplicate routing records 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
e2a3c4d19a refactor(gcr/s) re-use code from get 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
31eb4cac08 misc(gcr/s) rm unused param 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
ab81d7cbd1 misc(gcr/s) add doc 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
d1df4095ea fix: don't check routingbackend for value 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
ca268b789e misc(gcr/s) rm TODO 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
8940b8d4b8 fix(gcr/s) rename datastore to routing backend 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
eb8db2ec79 log(gcr/s,c) add addtional eventlogs 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
098edb306f add s3 datastore 2015-02-14 14:13:55 -08:00
Brian Tiger Chow
bcfa539272 vendor aws, s3
vendor: goamz/aws and goamz/s3
2015-02-14 14:13:55 -08:00
Brian Tiger Chow
b34fee4ede test(gc) with 10 node integration test 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
4a9ae80791 fix(gcr/c) print a loud error when clients receive routing messages, but don't panic
This is an unhandled case. Right now, we close the stream without
reading. Should clients be able to satisfy routing requests?

@jbenet @whyrusleeping
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
d5331e7dc7 feat(gcr/s) add eventlogs 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
f17ede8334 refactor(integrationtest) use RoutingOptions in mocknet repo 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
9e5b3b7773 refactor(gcr/c) pass host.Host into GCR client 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
ea9ea79459 feat(gcr/c) randomize order of remotes 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
46bbd11e6b fix(gcr/s,c) register stream handlers 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
d80e9aba7a feat(gcr/c) add support for multiple servers 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
73b544c932 feat(corerouting) add package for custom routing options
fix(corerouting): connect to routing servers when setting up GCR client

doc(corerouting) add TODO to move stuff to routing bootstrap
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
f8f4dc8e8d misc(gcr/c) rm TODO 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
0721a58934 fix(gcr/s) proto marshaling bugs 2015-02-14 14:13:54 -08:00
Brian Tiger Chow
a88621aeb1 refac(gcr/s,c) remove network/dialer
remove dialer from GCR client
2015-02-14 14:13:53 -08:00
Brian Tiger Chow
c989646791 refac(gcr/s,c) use PeerRoutingInfo 2015-02-14 14:13:53 -08:00
Brian Tiger Chow
0db1a94862 misc: suppress logs to Debug (from Info) 2015-02-14 14:13:53 -08:00
Brian Tiger Chow
a549cf57d6 add space 2015-02-14 14:13:53 -08:00
Juan Batiz-Benet
8fb94daa65 Merge pull request #779 from jbenet/fix/dht
this might solve all our problems
2015-02-13 00:51:43 -08:00
Juan Batiz-Benet
dee43a39ec Merge pull request #778 from jbenet/fix/757
fix for #757
2015-02-13 00:47:45 -08:00
Jeromy
066ebda687 a few more cleanup changes to handlers 2015-02-13 08:29:10 +00:00
Jeromy
241e34267c this might solve all our problems 2015-02-13 08:08:30 +00:00
Jeromy
32fc3845f0 fix for #757 2015-02-13 07:47:51 +00:00
Jeromy Johnson
d4d3e29106 Merge pull request #775 from jbenet/fix/repo-tilde
have repo tilde expand paths
2015-02-12 19:19:55 -08:00
Juan Batiz-Benet
247649969e Merge pull request #726 from kevinwallace/gateway_hostname
gateway: attempt to resolve hostname to ipfs path
2015-02-12 18:52:16 -08:00
Juan Batiz-Benet
0198b3155c Merge pull request #776 from jbenet/fix/mdag-panic
fix a panic caused by context cancelling closing a promise channel
2015-02-12 18:34:58 -08:00