settlements

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheck added in v0.7.0

func NewCheck() beekeeper.Action

NewCheck returns new check

Types

type Check

type Check struct{}

Check instance

func (*Check) Run added in v0.7.0

func (c *Check) Run(ctx context.Context, cluster *bee.Cluster, opts interface{}) (err error)

type Options

type Options struct {
	DryRun             bool
	ExpectSettlements  bool
	FileName           string
	FileSize           int64
	PostageAmount      int64
	PostageDepth       uint64
	PostageWait        time.Duration
	Seed               int64
	Threshold          int64 // balances treshold
	UploadNodeCount    int
	WaitBeforeDownload time.Duration // seconds to wait before downloading a file
}

Options represents check options

func NewDefaultOptions added in v0.7.0

func NewDefaultOptions() Options

NewDefaultOptions returns new default options

Jump to

Keyboard shortcuts

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