1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 03:19:47 +08:00

change block datastore prefix to "/b"

the prefix should be as short as possible, as this is a
per-block overhead.
This commit is contained in:
Juan Batiz-Benet
2015-01-11 19:33:37 -08:00
parent 7867e01c90
commit 0d059a3881

View File

@ -19,7 +19,7 @@ import (
var log = eventlog.Logger("blockstore")
// BlockPrefix namespaces blockstore datastores
var BlockPrefix = ds.NewKey("blocks")
var BlockPrefix = ds.NewKey("b")
var ValueTypeMismatch = errors.New("The retrieved value is not a Block")