Versions in this module Expand all Collapse all v0 v0.0.7 Jan 23, 2024 Changes in this version + type LRUCache struct + func New(capacity int, preallocate bool) *LRUCache + func (c *LRUCache) Add(key *externalapi.DomainOutpoint, value externalapi.UTXOEntry) + func (c *LRUCache) Clear() + func (c *LRUCache) Get(key *externalapi.DomainOutpoint) (externalapi.UTXOEntry, bool) + func (c *LRUCache) Has(key *externalapi.DomainOutpoint) bool + func (c *LRUCache) Remove(key *externalapi.DomainOutpoint)