mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 13:27:50 +08:00
If the datastore has a value for the key, we already have the block. We should not write it again. This will make redundant writes much faster. At the moment, a datastore.Has on leveldb is a GetBackedHas. Track https://github.com/jbenet/go-datastore/issues/6 |
||
|---|---|---|
| .. | ||
| blocks_test.go | ||
| blockservice.go | ||