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

Method failed

ethstorage/scanner/utils.go:91–100  ·  view source on GitHub ↗

failed() returns all kvIndices that are failed to be fixed

()

Source from the content-addressed store, hash-verified

89
90// failed() returns all kvIndices that are failed to be fixed
91func (m mismatchTracker) failed() []uint64 {
92 var res []uint64
93 for kvIndex, scanned := range m {
94 if scanned.status == failed {
95 res = append(res, kvIndex)
96 }
97 }
98 slices.Sort(res)
99 return res
100}
101
102// needFix() returns all kvIndices that need to be fixed
103func (m mismatchTracker) needFix() []uint64 {

Callers 1

GetScanStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected