Versions in this module Expand all Collapse all v0 v0.1.1 Oct 1, 2023 v0.1.0 Sep 29, 2023 Changes in this version + const PrefixAddressOutputMappingStorage + type AddressOutputMapping struct + func NewAddressOutputMapping(address devnetvm.Address, outputID utxo.OutputID) *AddressOutputMapping + func (a *AddressOutputMapping) Address() devnetvm.Address + func (a *AddressOutputMapping) OutputID() utxo.OutputID + type Indexer struct + func New(ledgerFunc func() mempool.MemPool, options ...Option) (i *Indexer) + func (i *Indexer) CachedAddressOutputMappings(address devnetvm.Address) (cachedAddressOutputMappings generic.CachedObjects[*AddressOutputMapping]) + func (i *Indexer) IndexOutput(output devnetvm.Output) + func (i *Indexer) OnOutputCreated(outputID utxo.OutputID) + func (i *Indexer) OnOutputSpentRejected(outputID utxo.OutputID) + func (i *Indexer) Prune() (err error) + func (i *Indexer) RemoveAddressOutputMapping(address devnetvm.Address, outputID utxo.OutputID) + func (i *Indexer) Shutdown() + func (i *Indexer) StoreAddressOutputMapping(address devnetvm.Address, outputID utxo.OutputID) + type Option func(*options) + func WithAddressOutputMappingCacheTime(addressOutputMappingCacheTime time.Duration) (option Option) + func WithCacheTimeProvider(cacheTimeProvider *database.CacheTimeProvider) (option Option) + func WithStore(store kvstore.KVStore) (option Option)