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

Method ReadSample

ethstorage/miner/miner.go:36–36  ·  view source on GitHub ↗
(shardIdx, sampleIdx uint64)

Source from the content-addressed store, hash-verified

34type DataReader interface {
35 GetBlob(kvIdxe uint64, blobHash common.Hash) ([]byte, error)
36 ReadSample(shardIdx, sampleIdx uint64) (common.Hash, error)
37}
38
39type miningInfo struct {

Callers 4

ReadSampleUnlockedMethod · 0.65
ReadSampleMethod · 0.65
getMiningDataMethod · 0.65
runSampleReadFunction · 0.65

Implementers 1

BlobReaderethstorage/blobs/blob_reader.go

Calls

no outgoing calls

Tested by

no test coverage detected