Versions in this module Expand all Collapse all v1 v1.0.2 Jan 31, 2023 Changes in this version + type PrettyDuration time.Duration + func (t PrettyDuration) String() string v1.0.1 Jan 25, 2023 Changes in this version + func BigTo256(b *big.Int) common.Hash + func I64to256(i64 int64) common.Hash + func NameOf(p idx.ValidatorID) string + func ToNec(nec uint64) *big.Int + func U64to256(u64 uint64) common.Hash + func U64toBig(u64 uint64) *big.Int + func WeightedPermutation(size int, weights []pos.Weight, seed hash.Hash) []int + type NumQueue struct + func NewNumQueue(init uint64) *NumQueue + func (q *NumQueue) Done(n uint64) + func (q *NumQueue) WaitFor(n uint64) + type SpinLock struct + func (sl *SpinLock) Lock() + func (sl *SpinLock) String() string + func (sl *SpinLock) TryLock() bool + func (sl *SpinLock) Unlock()