package
1.2.8
Repository: https://github.com/iotaledger/hornet.git
Documentation: pkg.go.dev

# Functions

CheckDatabaseEngine checks if the correct database engine is used.
No description provided by the author
DatabaseEngineAllowed checks if the database engine is allowed.
DatabaseEngineFromString parses an engine from a string.
DatabaseEngineFromStringAllowed parses an engine from a string and checks if the database engine is allowed.
DatabaseExists checks if the database folder exists and is not empty.
LoadDatabaseEngineFromFile returns the engine from the "database info file".
New creates a new Database instance.
NewPebbleDB creates a new pebble DB instance.
NewRocksDB creates a new RocksDB instance.
StoreWithDefaultSettings returns a kvstore with default settings.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrNothingToCleanUp is returned when nothing is there to clean up in the database.

# Structs

Database holds the underlying KVStore and database specific functions.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author