Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2024 v0.0.1 Jun 25, 2024 Changes in this version + 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 Uint64ToTime(val *uint64) time.Time + 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)