mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-13 19:03:10 +00:00
rename merkletree -> codexmerkletree
This commit is contained in:
parent
10cee0e35a
commit
818ecf852f
@ -31,6 +31,22 @@ import ./codextypes
|
||||
|
||||
export errors, formats, units, codextypes
|
||||
|
||||
# hashes
|
||||
Sha256Hash* = multiCodec("sha2-256")
|
||||
Poseidon2SpongeHash* = multiCodec("poseidon2-alt_bn_128-sponge-r2")
|
||||
Poseidon2MerkleHash* = multiCodec("poseidon2-alt_bn_128-merkle-2kb")
|
||||
|
||||
# CIDs
|
||||
Raw = multiCodec("raw")
|
||||
DagPB* = multiCodec("dag-pb")
|
||||
DagJson* = multiCodec("dag-json")
|
||||
|
||||
ManifestCodec* = multiCodec("codex-manifest")
|
||||
BlockCodec* = multiCodec("codex-block")
|
||||
DatasetRootCodec* = multiCodec("codex-root")
|
||||
SlotRoot* = multiCodec("codex-slot-root")
|
||||
ProvingRoot* = multiCodec("codex-proving-root")
|
||||
|
||||
type
|
||||
Block* = ref object of RootObj
|
||||
cid*: Cid
|
||||
|
||||
@ -2,7 +2,6 @@ import ./stores/cachestore
|
||||
import ./stores/blockstore
|
||||
import ./stores/networkstore
|
||||
import ./stores/repostore
|
||||
import ./stores/maintenance
|
||||
import ./stores/keyutils
|
||||
import ./stores/treehelper
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user