badger

package
v0.2200.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package badger implements a tendermint DB, backed by BadgerDB.

Index

Constants

View Source
const (
	// BackendName is the name of this implementation.
	BackendName = "badger"
)

Variables

View Source
var (

	// DBProvider is a DBProvider to be used when initializing
	// a tendermint node.
	DBProvider node.DBProvider = badgerDBProvider
)

Functions

func New

func New(fn string, noSuffix bool) (dbm.DB, error)

New constructs a new tendermint DB, backed by a Badger database at the provided path.

Note: This should only be used by tendermint, all other places that need a K/V store should favor using BadgerDB directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL