Commit Graph

946 Commits

Author SHA1 Message Date
Jeromy
b7744b2a11 fix for #141, routing table segmentation 2014-10-22 15:08:32 -07:00
Juan Batiz-Benet
6d8a1d1ecd minimal doc on handshake 2014-10-22 13:10:55 -07:00
Juan Batiz-Benet
88cc1e2a5c spell nit 2014-10-22 12:49:37 -07:00
Juan Batiz-Benet
a8adf2ff2c dht test fix (net) 2014-10-22 05:31:49 -07:00
Juan Batiz-Benet
54032ce38b updated vendoring 2014-10-22 05:29:22 -07:00
Juan Batiz-Benet
701035d5b0 handshake3 (addrs) 2014-10-22 05:25:31 -07:00
Juan Batiz-Benet
97c66ddc8f handshake1 renaming 2014-10-22 04:56:18 -07:00
Juan Batiz-Benet
cc5c181ae0 Dialer for dht
dht doesn't need the whole network interface, only needs a Dialer.
(much reduced surface of possible errors)
2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
cc9f276f0f notes 2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
c3df3973e1 query wasnt ensuring conn
The query-- once it's actually attempting to connect to a peer--
should be the one connecting.
2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
6f8d23cbc1 this shouldn't connect quite yet. 2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
b66b26098b nicer, greppable logging 2014-10-22 03:24:05 -07:00
Jeromy
c070c2f0de working on debugging dht issues 2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
2f345c8515 cleanup: removed key marshal logs 2014-10-22 02:58:04 -07:00
Juan Batiz-Benet
4b01ad0b7c fixed pin json marshal 2014-10-22 02:55:22 -07:00
Juan Batiz-Benet
5d86ce56ac key marshalling + b58 encoding 2014-10-22 02:54:53 -07:00
Jeromy
edb5a14f79 update datastore paths 2014-10-22 00:33:14 -07:00
Jeromy
3ee3c44d7c flush! 2014-10-22 00:28:42 -07:00
Jeromy
65385b37ea fix rm flags 2014-10-22 00:28:41 -07:00
Jeromy
6f750572cd add lock to pinner and rework cli 2014-10-22 00:28:41 -07:00
Jeromy
31b0ff0307 add testing for pins 2014-10-22 00:28:41 -07:00
Jeromy
6458ddcd32 flesh out pinning object, needs tests and cli wiring still 2014-10-22 00:28:41 -07:00
Jeromy
4d63820bbe move indirect pinning to its own structure 2014-10-22 00:26:11 -07:00
Jeromy
51879e9640 implement unpin and add a datastore backed blockset 2014-10-22 00:26:11 -07:00
Jeromy
7cbfbbc0ad add blockset and bloomfilter and beginnings of pinning service 2014-10-22 00:26:11 -07:00
Juan Batiz-Benet
c4af76cf4b Merge pull request #150 from jbenet/commands
Command Interface
2014-10-21 18:33:55 -07:00
Matt Bell
4303dccee9 commands: Added Request#SetStream 2014-10-21 18:27:39 -07:00
Matt Bell
12a6a87b2c commands/cli: Made Parse return a Request (again) 2014-10-21 18:27:05 -07:00
Juan Batiz-Benet
d464e3d143 commands: go fmt 2014-10-21 18:16:04 -07:00
Matt Bell
dd81bf630f commands: Fixed tests 2014-10-21 18:07:49 -07:00
Matt Bell
ca44d0da2c commands: Removed Command#Register and exported Subcommands so subcommands can be defined statically 2014-10-21 18:05:54 -07:00
Matt Bell
6ff98df9c1 commands: Do command collision check in GetOptions 2014-10-21 18:00:26 -07:00
Matt Bell
4f10f03660 commands: Fixed tests 2014-10-21 16:15:22 -07:00
Matt Bell
dd84a3eb44 commands: Got rid of Response#Stream() in favor of setting value to a io.Reader 2014-10-21 16:15:06 -07:00
Matt Bell
b65a5bacbe commands: Made Error implement error interface 2014-10-21 15:25:47 -07:00
Matt Bell
8786878fdb commands: Fixed tests 2014-10-21 15:25:01 -07:00
Matt Bell
4896123c14 commands: Export command Run function 2014-10-21 15:24:39 -07:00
Juan Batiz-Benet
8d7850eeb5 updated datastore (keytransform) 2014-10-21 15:18:12 -07:00
Juan Batiz-Benet
f7c1ed39e0 renamed datastore.go -> go-datastore 2014-10-21 15:10:58 -07:00
Juan Batiz-Benet
4cb48da228 updated datastore 2014-10-21 03:30:41 -07:00
Matt Bell
71ff571ecf commands/cli: Made Parse return component fields instead of a Request 2014-10-20 17:02:25 -07:00
Matt Bell
b022ba4a3a commands: Fixed tests 2014-10-20 14:39:23 -07:00
Matt Bell
7bd7ed6d52 commands: Added output stream field to Response 2014-10-20 14:38:36 -07:00
Matt Bell
c0b28dc19d commands: Added input stream field to Request 2014-10-20 14:38:09 -07:00
Juan Batiz-Benet
b10fc2cc50 turned req + res into interfaces 2014-10-20 11:49:07 -07:00
Juan Batiz-Benet
bbef82f4fa "enc" -> EncShort 2014-10-20 08:00:28 -07:00
Juan Batiz-Benet
4986600e54 parsePath no err 2014-10-20 08:00:28 -07:00
Juan Batiz-Benet
92528ba764 Sub -> Subcommand 2014-10-20 07:55:23 -07:00
Juan Batiz-Benet
84fa7bc46d AddOptionNames func 2014-10-20 07:53:55 -07:00
Juan Batiz-Benet
09d2277f0a f -> run, Function type. 2014-10-20 07:53:54 -07:00