Versions in this module Expand all Collapse all v1 v1.14.12 Nov 23, 2024 Changes in this version + func BytesToHashSlice(b []byte) []common.Hash + func HashSliceToBytes(hashes []common.Hash) []byte + func IncrOne(bytes []byte) + func NewTestValidatorState() *validatorstest.State + func NewUint64(val uint64) *uint64 + func TestSnowContext() *snow.Context + func TimeToNewUint64(time time.Time) *uint64 + func Uint64PtrEqual(x, y *uint64) bool + func Uint64ToTime(val *uint64) time.Time + type AddressRange struct + End common.Address + Start common.Address + func (a *AddressRange) Contains(addr common.Address) bool + type BoundedWorkers struct + func NewBoundedWorkers(max int) *BoundedWorkers + func (b *BoundedWorkers) Execute(f func()) + func (b *BoundedWorkers) Wait() int + type MeteredCache struct + func NewMeteredCache(size int, namespace string, updateFrequency uint64) *MeteredCache + func (mc *MeteredCache) Del(k []byte) + func (mc *MeteredCache) Get(dst, k []byte) []byte + func (mc *MeteredCache) GetBig(dst, k []byte) []byte + func (mc *MeteredCache) Has(k []byte) bool + func (mc *MeteredCache) HasGet(dst, k []byte) ([]byte, bool) + func (mc *MeteredCache) Set(k, v []byte) + func (mc *MeteredCache) SetBig(k, v []byte) v1.14.12-1 Nov 23, 2024