full

package
v0.18.0-rc38-no-dont-h... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShareAvailability

type ShareAvailability struct {
	// contains filtered or unexported fields
}

ShareAvailability implements share.Availability using the full data square recovery technique. It is considered "full" because it is required to download enough shares to fully reconstruct the data square.

func NewShareAvailability

func NewShareAvailability(
	store *store.Store,
	getter shwap.Getter,
) *ShareAvailability

NewShareAvailability creates a new full ShareAvailability.

func (*ShareAvailability) SharesAvailable

func (fa *ShareAvailability) SharesAvailable(ctx context.Context, header *header.ExtendedHeader) error

SharesAvailable reconstructs the data committed to the given Root by requesting enough Shares from the network.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL