kubo/core
Kevin Atkinson efeb789878 Check for multiple pinned blocks in a single pass.
Provide a new method, Pinner.CheckIfPinned(), which will check if
any of the arguments are pinned.  Previously IsPinned would need to be
called once for each block.  The new method will speed up the checking
of multiple pinned blocks from O(p*n) to O(p) (where p is the number
of pinned blocks and n is the number of blocks to be check)

Use the new method in "block rm".

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
..
commands Check for multiple pinned blocks in a single pass. 2016-08-15 13:17:43 -04:00
corehttp cache encoded data when reading dag nodes from disk 2016-07-10 13:13:35 -07:00
corenet update go-libp2p 2016-07-04 12:27:26 -07:00
corerepo Automatically download and run migrations if needed 2016-07-19 06:50:00 -07:00
corerouting use batching datastore for providers storage 2016-07-26 10:48:25 -07:00
coreunix don't cache entire mfs tree on add finalize 2016-08-01 16:53:45 -07:00
mock use batching datastore for providers storage 2016-07-26 10:48:25 -07:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go Update go-log in whole dependency tree (#2898) 2016-06-24 09:38:07 -07:00
bootstrap.go update go-libp2p 2016-07-04 12:27:26 -07:00
builder.go use batching datastore for providers storage 2016-07-26 10:48:25 -07:00
core_test.go Use gx vendored go-ipfs-utils where possible 2016-02-12 17:21:40 -08:00
core.go use batching datastore for providers storage 2016-07-26 10:48:25 -07:00
pathresolver_test.go Add test to detect invalid path 2015-07-04 02:50:15 +07:00
pathresolver.go dns: update dns command docs 2016-03-03 17:06:10 +01:00