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

Method GetSampleData

ethstorage/blobs/blob_reader.go:18–18  ·  view source on GitHub ↗
(kvIndex, sampleIndexInKv uint64)

Source from the content-addressed store, hash-verified

16type BlobCacheReader interface {
17 GetKeyValueByIndex(index uint64, hash common.Hash) []byte
18 GetSampleData(kvIndex, sampleIndexInKv uint64) []byte
19}
20
21// BlobReader provides unified interface for the miner to read blobs and samples

Callers 1

ReadSampleMethod · 0.65

Implementers 2

BlobDiskCacheethstorage/downloader/blob_disk_cache.
BlobMemCacheethstorage/downloader/blob_mem_cache.g

Calls

no outgoing calls

Tested by

no test coverage detected