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

Struct BlobReader

ethstorage/blobs/blob_reader.go:23–27  ·  view source on GitHub ↗

BlobReader provides unified interface for the miner to read blobs and samples from StorageManager and downloader cache.

Source from the content-addressed store, hash-verified

21// BlobReader provides unified interface for the miner to read blobs and samples
22// from StorageManager and downloader cache.
23type BlobReader struct {
24 cr BlobCacheReader
25 sm *es.StorageManager
26 lg log.Logger
27}
28
29func NewBlobReader(cr BlobCacheReader, sm *es.StorageManager, lg log.Logger) *BlobReader {
30 return &BlobReader{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected