Versions in this module Expand all Collapse all v0 v0.3.15 Nov 4, 2024 v0.3.14 May 2, 2024 Changes in this version + type LRUCache struct + func New(capacity int, preallocate bool) *LRUCache + func (c *LRUCache) Add(blockHash *externalapi.DomainHash, isTrustedData bool, ...) + func (c *LRUCache) Get(blockHash *externalapi.DomainHash, isTrustedData bool) (*externalapi.BlockGHOSTDAGData, bool) + func (c *LRUCache) Has(blockHash *externalapi.DomainHash, isTrustedData bool) bool + func (c *LRUCache) Remove(blockHash *externalapi.DomainHash, isTrustedData bool)