Documentation
¶
Index ¶
- Variables
- func NewPebbleDB(file string, configBytes []byte, log logging.Logger, ...) (database.Database, error)
- func NewStandaloneDatabase(dbConfig avalanchenode.DatabaseConfig, gatherer metrics.MultiGatherer, ...) (database.Database, error)
- func WrapDatabase(db database.Database) ethdb.KeyValueStore
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSnapshotNotSupported = errors.New("snapshot is not supported")
)
Functions ¶
func NewPebbleDB ¶ added in v0.7.0
func NewPebbleDB(file string, configBytes []byte, log logging.Logger, dbRegisterer prometheus.Registerer) (database.Database, error)
func NewStandaloneDatabase ¶
func NewStandaloneDatabase(dbConfig avalanchenode.DatabaseConfig, gatherer metrics.MultiGatherer, logger logging.Logger) (database.Database, error)
createDatabase returns a new database instance with the provided configuration
func WrapDatabase ¶
func WrapDatabase(db database.Database) ethdb.KeyValueStore
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.