Brian Tiger Chow
c0ca02486b
fix(corerouting) pass transport addr
2015-02-15 04:41:18 -08:00
Brian Tiger Chow
2a322ad7fb
feat(daemon) learns --routing=supernode
2015-02-15 04:41:18 -08:00
Brian Tiger Chow
87c6604b56
misc: add test for api readiness
2015-02-15 04:41:18 -08:00
Brian Tiger Chow
8ef61e7704
fix(routingd) listen for interrupts
2015-02-15 04:41:18 -08:00
Brian Tiger Chow
0a8e5b9948
log(routing) report boostrap result to user
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
a7cea2ea14
style(routing/supernode/client) fix indent
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
72b934e130
fix(repo/config) Update gcr_servers.go TODO rename
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
974c4842fa
fix(routingd) update port and servers
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
e74b1de155
fix(config/gcr) include protocol
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
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
Brian Tiger Chow
bea4ed78d5
feat(cmd/daemon) add --gcr option to run GCR routing client
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
86455b81d4
feat(config) add GCR config section
2015-02-15 04:41:17 -08:00
Brian Tiger Chow
eeae42b5cc
test(snr/s) put
...
fix
2015-02-15 04:41:16 -08:00
Brian Tiger Chow
c1d6b0bcbf
ignore IPFS_PATH dir
2015-02-15 04:41:16 -08:00
Brian Tiger Chow
68e63440da
rename binaries
2015-02-15 04:41:16 -08:00
Juan Batiz-Benet
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
Brian Tiger Chow
4de93b3387
rename file
2015-02-15 04:41:16 -08:00
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