Versions in this module Expand all Collapse all v3 v3.0.1 Dec 28, 2023 v3.0.0 Dec 23, 2022 Changes in this version + type ClockTurntable interface + Add func(n uint64) + Get func(t time.Time) uint64 + GetLastSecond func(n uint64) uint64 + type ClockTurntableInstrument struct + Status [60]*subStatus + func NewClockTurntableInstrument() *ClockTurntableInstrument + func (C *ClockTurntableInstrument) Add(n uint64) + func (C *ClockTurntableInstrument) Get(t time.Time) uint64 + func (C *ClockTurntableInstrument) GetLastSecond(n uint64) uint64 + type RollingWindowCache interface + CommitBlock func(blockWithRWSet *serialization.BlockWithSerializedInfo, isCache bool) error + Consumer func() + Has func(key string, start uint64) (bool, bool, error) + InitGenesis func(genesisBlock *serialization.BlockWithSerializedInfo) error + ResetRWCache func(blockInfo *serialization.BlockWithSerializedInfo) error + func NewRollingWindowCacher(txIdCount, currCount, startBlockHeight, endBlockHeight, lastBlockHeight uint64, ...) RollingWindowCache + type RollingWindowCacher struct + Cache *cache.StoreCacheMgr + CurrCache protocol.StoreBatcher + func (r *RollingWindowCacher) CommitBlock(blockInfo *serialization.BlockWithSerializedInfo, isCache bool) error + func (r *RollingWindowCacher) Consumer() + func (r *RollingWindowCacher) Has(key string, start uint64) (bool, bool, error) + func (r *RollingWindowCacher) InitGenesis(genesisBlock *serialization.BlockWithSerializedInfo) error + func (r *RollingWindowCacher) ResetRWCache(blockInfo *serialization.BlockWithSerializedInfo) error