MCPcopy Create free account
hub / github.com/ethstorage/es-node / GetRoot

Method GetRoot

ethstorage/prover/iprover.go:12–12  ·  view source on GitHub ↗
(data []byte, chunkPerKV, chunkSize uint64)

Source from the content-addressed store, hash-verified

10type IProver interface {
11 GetProof(data []byte, nChunkBits, chunkIdx, chunkSize uint64) ([]byte, error)
12 GetRoot(data []byte, chunkPerKV, chunkSize uint64) (common.Hash, error)
13 GetRootWithProof(dataHash common.Hash, chunkIdx uint64, proofs []byte) (common.Hash, error)
14}

Callers 6

createBlobFunction · 0.65
GetRootMethod · 0.65
checkBlobCommitMethod · 0.65
makeKVStorageFunction · 0.65
TestSync_RequestL2ListFunction · 0.65
TestReadWriteFunction · 0.65

Implementers 3

MerkleProverethstorage/prover/merkleprover.go
MinMerkleTreeProverethstorage/prover/minmerkletreeprover.
KZGProverethstorage/prover/kzg_prover.go

Calls

no outgoing calls

Tested by 4

createBlobFunction · 0.52
makeKVStorageFunction · 0.52
TestSync_RequestL2ListFunction · 0.52
TestReadWriteFunction · 0.52