Versions in this module Expand all Collapse all v0 v0.5.3 Dec 13, 2023 Changes in this version + func BigNumEqual(x, y *big.Int) bool + func BytesToHashSlice(b []byte) []common.Hash + func HashSliceToBytes(hashes []common.Hash) []byte + func IncrOne(bytes []byte) + func IsBlockForked(s, head *big.Int) bool + func IsForkTransition(fork *uint64, parent *uint64, current uint64) bool + func IsTimestampForked(s *uint64, head uint64) bool + func NewUint64(val uint64) *uint64 + 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 MeteredCache struct + func NewMeteredCache(size int, journal string, 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)