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:
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user