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

Method commitBlobs

ethstorage/p2p/protocol/syncclient.go:1229–1233  ·  view source on GitHub ↗
(kvIndices []uint64, decodedBlobs [][]byte, commits []common.Hash)

Source from the content-addressed store, hash-verified

1227}
1228
1229func (s *SyncClient) commitBlobs(kvIndices []uint64, decodedBlobs [][]byte, commits []common.Hash) ([]uint64, error) {
1230 recordDur := s.metrics.ClientRecordTimeUsed("commitBlobs")
1231 defer recordDur()
1232 return s.storageManager.CommitBlobs(kvIndices, decodedBlobs, commits)
1233}
1234
1235// report calculates various status reports and provides it to the user.
1236func (s *SyncClient) report(force bool) {

Callers 1

onResultMethod · 0.95

Calls 2

ClientRecordTimeUsedMethod · 0.65
CommitBlobsMethod · 0.65

Tested by

no test coverage detected