Commit Graph

22 Commits

Author SHA1 Message Date
Jeromy
4f083d54d6 write a few package doc strings to improve look of godoc 2014-11-08 21:42:36 -08:00
Jeromy
c3d04570c0 a few more comments 2014-11-03 03:53:16 +00:00
Jeromy
950957240a address comments from PR 2014-11-01 16:07:56 -07:00
Jeromy
d92db12460 lots of logging 2014-10-26 00:45:40 +00:00
Juan Batiz-Benet
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
Juan Batiz-Benet
4b01ad0b7c fixed pin json marshal 2014-10-22 02:55:22 -07:00
Jeromy
edb5a14f79 update datastore paths 2014-10-22 00:33:14 -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
Jeromy
6e0cfb3273 removed error from return type of blocks.NewBlock() 2014-10-07 20:46:01 +00:00
Juan Batiz-Benet
f3ae0e8e1b u.Hash - error
the u.Hash error can be safely ignored (panic) because multihash
only fails from the selection of hash function. If the fn + length
are valid, it won't error.

cc @whyrusleeping
2014-10-06 02:26:52 -07:00
Jeromy
782976f473 add basic test for blocks package #59 (actually add file) 2014-09-15 06:08:49 +00:00
Jeromy
8a21af092a add basic test for blocks package #59 2014-09-15 06:07:03 +00:00
Brian Tiger Chow
7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
Jeromy
678db4fa40 more work on bitswap and other code cleanup 2014-08-25 09:44:42 -07:00
Jeromy
91e4675cbf basic implementation of bitswap, needs testing/verification that it works 2014-08-24 18:13:05 -07:00
Juan Batiz-Benet
f718bd6a92 go lint
link errors left:
- protocol buffers output is not lint-friendly
2014-07-22 02:20:08 -07:00
Juan Batiz-Benet
015398846f block get returned. 2014-07-05 15:38:17 -07:00
Juan Batiz-Benet
a5241b767b block service 2014-07-05 15:32:08 -07:00
Juan Batiz-Benet
3b570d3f82 skeleton. 2014-06-26 01:14:26 -07:00