Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier implements object.SplitVerifier interface.
func NewVerifier ¶
NewVerifier returns Verifier that ready to Verifier.VerifySplit. Get service must be non-nil, otherwise stable work is not guaranteed.
func (*Verifier) VerifySplit ¶
func (v *Verifier) VerifySplit(ctx context.Context, cnr cid.ID, firstID oid.ID, childrenFromLink []object.MeasuredObject) error
VerifySplit verifies split chains:
- Children should be ordered correctly (in the sense of a linked list child objects compose)
- NeoFS should answer to the HEAD requests with children whose object size corresponds to the link's info
- Every child should have a provided first object in its split header (the first object itself is an exception)
Click to show internal directories.
Click to hide internal directories.