settlements

package
v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 12 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(logger logging.Logger) beekeeper.Action

NewCheck returns a new check instance.

Types

type Check

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

Check instance.

func (*Check) Run added in v0.7.0

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

type Options

type Options struct {
	DryRun             bool
	ExpectSettlements  bool
	FileName           string
	FileSize           int64
	GasPrice           string
	PostageAmount      int64
	PostageDepth       uint64
	PostageLabel       string
	Seed               int64
	Threshold          int64 // balances treshold
	UploadNodeCount    int
	WaitAfterUpload    time.Duration // seconds to wait before downloading a file
	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