localpinning

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBytesFound added in v0.3.5

func CheckBytesFound(c *bee.Cluster, o Options) error

CheckBytesFound uploads some bytes to a node, pins them, then uploads a lot of other chunks to see they are still there

func CheckChunkFound added in v0.3.5

func CheckChunkFound(c *bee.Cluster, o Options) error

CheckChunkFound uploads a single chunk to a node, pins it, then uploads a lot of other chunks to see that it still there

func CheckRemoteChunksFound added in v0.4.1

func CheckRemoteChunksFound(c *bee.Cluster, o Options) error

CheckRemoteChunksFound uploads some chunks to one node, pins them on another node (which does not have them locally), and then check that they are now available locally pinned on that node.

Types

type Options

type Options struct {
	StoreSize        int // size of the node's localstore in chunks
	StoreSizeDivisor int // divide store size by how much when uploading bytes
	Seed             int64
	PostageAmount    int64
	PostageWait      time.Duration
}

Options represents localpinning check options

Jump to

Keyboard shortcuts

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