package
0.9.8
Repository: https://github.com/iotaledger/goshimmer.git
Documentation: pkg.go.dev

# Functions

New returns a new Indexer instance with the given options.
NewAddressOutputMapping creates a new AddressOutputMapping.
WithAddressOutputMappingCacheTime is an Option for the Ledger that allows to configure how long AddressOutputMapping objects stay cached after they have been released.
WithCacheTimeProvider is an Option for the Ledger that allows to configure which CacheTimeProvider is supposed to be used.
WithStore is an Option for the Ledger that allows to configure which KVStore is supposed to be used to persist data (the default option is to use a MapDB).

# Constants

PrefixAddressOutputMappingStorage defines the storage prefix for the AddressOutputMapping object storage.

# Structs

AddressOutputMapping is a mapping from an Address to an OutputID than enables lookups of stored Outputs.
Indexer is a component that indexes the Outputs of a ledger for easier lookups.

# Type aliases

Option represents the return type of optional parameters that can be handed into the constructor of the Ledger to configure its behavior.