Juan Batiz-Benet
16690d4af2
race fix: pinner loads with a threadsafe datastore
...
All the datastores used by pinners and so on should be mutex
wrapped. One issue with changing all of them from
ds.Datastore -> ds.ThreadSafeDatastore is that we wrap the
incoming ds.ThreadSafeDatastore with other datastores, which
do not implement the interface. Re-wrapping again causes
double locking. (which may be ok..., but...) any ideas?
2015-01-14 16:15:38 -08:00
Brian Tiger Chow
670d0244b4
feat(bitswap) make offline exchange query datastore
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 23:31:01 -08:00
Brian Tiger Chow
d0304def6b
refactor(blockstore, blockservice) use Blockstore and offline.Exchange
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:53:24 +00:00
Juan Batiz-Benet
cb22b62a9b
util: remove broken rand
2014-10-30 04:14:05 -07:00
Emery Hemingway
056699cebe
convert DAGService to an interface
2014-10-25 22:15:19 -04: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
31b0ff0307
add testing for pins
2014-10-22 00:28:41 -07:00