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

Method TryRead

ethstorage/storage_manager.go:619–624  ·  view source on GitHub ↗
(kvIdx uint64, readLen int, commit common.Hash)

Source from the content-addressed store, hash-verified

617}
618
619func (s *StorageManager) TryRead(kvIdx uint64, readLen int, commit common.Hash) ([]byte, bool, error) {
620 s.mu.Lock()
621 defer s.mu.Unlock()
622
623 return s.shardManager.TryRead(kvIdx, readLen, commit)
624}
625
626func (s *StorageManager) TryReadMeta(kvIdx uint64) ([]byte, bool, error) {
627 s.mu.Lock()

Callers

nothing calls this directly

Calls 1

TryReadMethod · 0.65

Tested by

no test coverage detected