storj/cmd/tools/segment-verify/verify.go
Egon Elbre 8459a3faa2 cmd/tools/segment-verify: add processing of a collection of segments
This adds logic to put segments into batches and retry them.

Change-Id: I86450e2f5ab13edb3ae9a5d5b9417e0cced2892b
2022-09-12 18:29:04 +03:00

19 lines
443 B
Go

// Copyright (C) 2022 Storj Labs, Inc.
// See LICENSE for copying information.
package main
import (
"context"
"github.com/zeebo/errs"
)
// ErrNodeOffline is returned when it was not possible to contact a node or the node was not responding.
var ErrNodeOffline = errs.Class("node offline")
// VerifyBatch verifies a single batch.
func (service *Service) VerifyBatch(ctx context.Context, batch *Batch) error {
return errs.New("todo")
}