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

# Functions

NewCacheTimeProvider creates an instance that forces cache time to always be a certain value.
NewDB returns a new persisting DB object.
NewMemDB returns a new in-memory (not persisted) DB object.

# Constants

PrefixConflictDAG defines the storage prefix for the conflictDAG package.
PrefixEpochsStorage defines the storage prefix for the epoch storage plugin.
PrefixHealth defines the prefix of the health db.
PrefixIndexer defines the storage prefix for the indexer package.
PrefixLedger defines the storage prefix for the ledger package.
PrefixMana defines the storage prefix for the mana package.
PrefixMarkers defines the storage prefix for the markers used to optimize structural checks in the tangle.
PrefixNotarization defines the storage prefix for the epochs package.
PrefixPeer defines the prefix of the peer db.
PrefixTangle defines the storage prefix for the tangle.

# Structs

CacheTimeProvider should be always used to get the CacheTime option for storage It wraps around objectstorage.CacheTime() function and may override the input duration.

# Interfaces

DB represents a database abstraction.