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

Method IsComplete

ethstorage/shard_manager.go:320–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318}
319
320func (sm *ShardManager) IsComplete() error {
321 for _, ds := range sm.shardMap {
322 if !ds.IsComplete() {
323 return fmt.Errorf("shard %d is not complete", ds.shardIdx)
324 }
325 }
326 return nil
327}
328
329func (sm *ShardManager) Close() error {
330 for _, ds := range sm.shardMap {

Callers 3

initShardManagerFunction · 0.95
initStorageManagerMethod · 0.95
initShardManagerFunction · 0.95

Calls

no outgoing calls

Tested by 1

initShardManagerFunction · 0.76