8459a3faa2
This adds logic to put segments into batches and retry them. Change-Id: I86450e2f5ab13edb3ae9a5d5b9417e0cced2892b
19 lines
443 B
Go
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")
|
|
}
|