package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

GetRandomValueFromInterval returns a random value from the following interval: [currentInterval - randomizationFactor * currentInterval, currentInterval + randomizationFactor * currentInterval].
NewConcurrencySafeSource creates a concurrency safe source.
NewRand is a convenience function to generate a new https://golang.org/pkg/math/rand/#Rand object that is concurrency safe.