localpinning

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

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

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
}

Options represents localpinning check options

Jump to

Keyboard shortcuts

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