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

Method Shards

ethstorage/storage_manager.go:650–652  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

648}
649
650func (s *StorageManager) Shards() []uint64 {
651 return s.shardManager.ShardIds()
652}
653
654func (s *StorageManager) ReadSampleUnlocked(shardIdx, sampleIdx uint64) (common.Hash, error) {
655 if ds, ok := s.shardManager.shardMap[shardIdx]; ok {

Callers 1

DownloadAllMetasMethod · 0.95

Calls 1

ShardIdsMethod · 0.80

Tested by

no test coverage detected