give sessiongenerator a master context for easy cancelling
style: Stop -> Close() error for Closer interface

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
doc TODO

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
Merge pull request #448 from jbenet/fix/test-memory-leak

fix: memory leak in epic tests
fix(epictest) generate data before starting benchmark

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
Merge pull request #449 from jbenet/fix/benchmark-timer

fix(epictest) generate data before starting benchmark
fix bug where a file containing duplicate blocks would fail to be read properly
style(merkle): move var dec closer to use
fix(merkle) use defer
Update merkledag.go
change FindLink to FindLinks

cc @maybebtc
create wantlist object
implement bitswap roundWorker

make vendor
extracted ledgerset from strategy, cleaned up a few comments from the PR
dont spawn so many goroutines when rebroadcasting wantlist
add priorities to GetBlocks requests, and add waitgroup to sendWantListTo
blockstore.ErrNotFound, and proper wantlist sorting
fix go version

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
remove noisy statement

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
add locks to wantlist to avoid race condition