Optionally allow bitswap for chainstore

This commit is contained in:
Łukasz Magiera
2020-11-03 23:44:44 +01:00
parent b0824ada15
commit a1e1b03ca4
16 changed files with 151 additions and 28 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ import (
// dy default it's namespaced under /metadata in main repo datastore
type MetadataDS datastore.Batching
type ChainBlockstore blockstore.Blockstore
type ChainRawBlockstore blockstore.Blockstore
type ChainBlockstore blockstore.Blockstore // optionally bitswap backed
type ChainGCLocker blockstore.GCLocker
type ChainGCBlockstore blockstore.GCBlockstore