Discover Packages
github.com/oasisprotocol/oasis-core/go
consensus
cometbft
db
package
Version:
v0.2400.0
Opens a new window with list of versions in this module.
Published: May 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package db implements several CometBFT DB backends.
GetBackendName returns the currently configured CometBFT database backend.
GetProvider returns the currently configured CometBFT DBProvider.
New constructs a new CometBFT DB with the configured backend.
WithCloser wraps a CometBFT Core database instance so that it can only be closed by the given
closer instance. Direct attempts to close the returned database instance will be ignored.
Closer manages closing of multiple CometBFT Core databases.
NewCloser creates a new empty database closer.
Close closes all the managed databases.
Source Files
¶
Directories
¶
Package badger implements a CometBFT DB, backed by BadgerDB.
Package badger implements a CometBFT DB, backed by BadgerDB.
Package tests is a collection of CometBFT DB backend tests.
Package tests is a collection of CometBFT DB backend tests.
Click to show internal directories.
Click to hide internal directories.