1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 19:24:14 +08:00

3481 Commits

Author SHA1 Message Date
a7cea2ea14 style(routing/supernode/client) fix indent 2015-02-15 04:41:17 -08:00
72b934e130 fix(repo/config) Update gcr_servers.go TODO rename 2015-02-15 04:41:17 -08:00
974c4842fa fix(routingd) update port and servers 2015-02-15 04:41:17 -08:00
e74b1de155 fix(config/gcr) include protocol 2015-02-15 04:41:17 -08:00
31587b2d0a debug: add gc-client TODO rm before merge
add automatic add and cat for debugging purposes

retry cats

cast string

argh! @whyrusleepgin

use mock repo to avoid clashing

larger files for more variety FIXUP into gc-client

fix: change in both places FIXUP gc-client

 fix(gc-client) start with size 1 (unit)

fix(gc-client) start at 1 FIXUP prev

gc-client rm comment

gc-client larger files

fix(gc-client) cat the data out to dev null to ensure entire file is fetched

perf(gc-client) use io.Pipe to handle io transfer

fixup
2015-02-15 04:41:17 -08:00
bea4ed78d5 feat(cmd/daemon) add --gcr option to run GCR routing client 2015-02-15 04:41:17 -08:00
86455b81d4 feat(config) add GCR config section 2015-02-15 04:41:17 -08:00
eeae42b5cc test(snr/s) put
fix
2015-02-15 04:41:16 -08:00
c1d6b0bcbf ignore IPFS_PATH dir 2015-02-15 04:41:16 -08:00
68e63440da rename binaries 2015-02-15 04:41:16 -08:00
cc8ed14e7a bootstrap: update bootstrapping process.
Note: the dht-specific part of the bootstrap function
was only there to make sure to call `dht.Update(ctx, npeer)`.
This already happens on all new connections made by the
network, as the dht is signed up for notifications.
2015-02-15 04:41:16 -08:00
4de93b3387 rename file 2015-02-15 04:41:16 -08:00
9dd12922b3 refactor(routing) expose Bootstrap() error on routing interface 2015-02-15 04:41:16 -08:00
1dfcce9f5a fix(grc) move Bootstrap method onto routing interface 2015-02-15 04:41:16 -08:00
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
64a431dd32 ensure we only accept AddProvider records if the peer is the sender 2015-02-15 04:41:15 -08:00
6b900d209b remove todo
this functionality is here as an optimization
2015-02-15 04:41:15 -08:00
19eb35137b refactor(routing) rename grandcentral to supernode
thanks @mappum

remove .go-ipfs
2015-02-15 04:41:10 -08:00
0918636651 feat(cmd/routingd) add executable 2015-02-14 14:13:57 -08:00
c730e19b5f rm TODO (there's still one for verifying records) 2015-02-14 14:13:56 -08:00
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
cfe3a637e4 log(gcr/s) remove local peer in message-received event 2015-02-14 14:13:56 -08:00
7ab01d4318 misc(gcr/s) rm TODO 2015-02-14 14:13:56 -08:00
0676a9b10b fix(gcr/s) defer log event 2015-02-14 14:13:56 -08:00
ba119fb1f7 doc(gcr/c) comment methods 2015-02-14 14:13:56 -08:00
770489ab2c fix(corerouting) remove TODO. no longer applies now that routing servers are specified manually 2015-02-14 14:13:56 -08:00
a6710e9f53 feat(gcr/s) comment 2015-02-14 14:13:56 -08:00
5caa179d69 refactor(gcr/s) extract provider key 2015-02-14 14:13:56 -08:00
ebd08f8194 refactor(gcr/s) move declaration 2015-02-14 14:13:56 -08:00
450f21a545 fix(gcr/s) de-duplicate routing records 2015-02-14 14:13:55 -08:00
e2a3c4d19a refactor(gcr/s) re-use code from get 2015-02-14 14:13:55 -08:00
31eb4cac08 misc(gcr/s) rm unused param 2015-02-14 14:13:55 -08:00
ab81d7cbd1 misc(gcr/s) add doc 2015-02-14 14:13:55 -08:00
d1df4095ea fix: don't check routingbackend for value 2015-02-14 14:13:55 -08:00
ca268b789e misc(gcr/s) rm TODO 2015-02-14 14:13:55 -08:00
8940b8d4b8 fix(gcr/s) rename datastore to routing backend 2015-02-14 14:13:55 -08:00
eb8db2ec79 log(gcr/s,c) add addtional eventlogs 2015-02-14 14:13:55 -08:00
098edb306f add s3 datastore 2015-02-14 14:13:55 -08:00
bcfa539272 vendor aws, s3
vendor: goamz/aws and goamz/s3
2015-02-14 14:13:55 -08:00
b34fee4ede test(gc) with 10 node integration test 2015-02-14 14:13:54 -08:00
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
d5331e7dc7 feat(gcr/s) add eventlogs 2015-02-14 14:13:54 -08:00
f17ede8334 refactor(integrationtest) use RoutingOptions in mocknet repo 2015-02-14 14:13:54 -08:00
9e5b3b7773 refactor(gcr/c) pass host.Host into GCR client 2015-02-14 14:13:54 -08:00
ea9ea79459 feat(gcr/c) randomize order of remotes 2015-02-14 14:13:54 -08:00
46bbd11e6b fix(gcr/s,c) register stream handlers 2015-02-14 14:13:54 -08:00
d80e9aba7a feat(gcr/c) add support for multiple servers 2015-02-14 14:13:54 -08:00
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
f8f4dc8e8d misc(gcr/c) rm TODO 2015-02-14 14:13:54 -08:00
0721a58934 fix(gcr/s) proto marshaling bugs 2015-02-14 14:13:54 -08:00