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

Method TryRead

ethstorage/scanner/worker.go:23–23  ·  view source on GitHub ↗
(kvIdx uint64, readLen int, commit common.Hash)

Source from the content-addressed store, hash-verified

21
22type IStorageManager interface {
23 TryRead(kvIdx uint64, readLen int, commit common.Hash) ([]byte, bool, error)
24 TryReadMeta(kvIdx uint64) ([]byte, bool, error)
25 TryWriteWithMetaCheck(kvIdx uint64, commit common.Hash, fetchBlob es.FetchBlobFunc) error
26 MaxKvSize() uint64

Callers 10

TryReadMethod · 0.65
verifyKVsFunction · 0.65
TestReadWriteFunction · 0.65
queryBlobsMethod · 0.65
buildSidecarMethod · 0.65
GetBlobMethod · 0.65
scanKvMethod · 0.65
fixKvMethod · 0.65
GetBlobMethod · 0.65
verifyDataFunction · 0.65

Implementers 1

StorageManagerethstorage/storage_manager.go

Calls

no outgoing calls

Tested by 2

verifyKVsFunction · 0.52
TestReadWriteFunction · 0.52