package
1.3.4
Repository: https://github.com/getdatcrypto/nimbus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ChunkSize is a helper method to calculate the size of a chunk depending on the minimum number of pieces required to restore the chunk.
Fuzz returns 0, 1 or -1.
Miner returns an MinerTemplate filled out with the provided dir.
NewCleanNode creates a new TestNode that's not yet funded.
NewDependencyInterruptOnceOnKeyword creates a new DependencyInterruptOnceOnKeyword from a given disrupt key.
NewGroup creates a group of TestNodes from node params.
NewGroupFromTemplate will create hosts, renters and miners according to the settings in groupParams.
NewNode creates a new funded TestNode.
Retry will call 'fn' 'tries' times, waiting 'durationBetweenAttempts' between each attempt, returning 'nil' the first time that 'fn' returns nil.
TestDir joins the provided directories and prefixes them with the Sia testing directory, removing any files or directories that previously existed at that location.

# Variables

DefaultAllowance is the allowance used for the group's renters.
MinerTemplate is a template for a Sia node that has a functioning miner.
SiaTestingDir is the directory that contains all of the files and folders created during testing.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestNode is a helper struct for testing that contains a server and a client as embedded fields.