Versions in this module Expand all Collapse all v1 v1.0.0 Nov 19, 2020 Changes in this version + func ChooseOne(rng *Rng, weights []uint64) int + func ChooseSome(rng *Rng, weights []uint64, cnt int) []int + func ChooseSomeMaxWeight(rng *Rng, weights []uint64, cnt int, tries int) []int + type Rng struct + func NewRng(entropyInput, nonce, personalizationString []byte) (*Rng, error) + func (r *Rng) NextUint64() uint64 Other modules containing this package github.com/bandprotocol/chain/v2