package
0.2.7
Repository: https://github.com/gobitfly/prysm.git
Documentation: pkg.go.dev

# Functions

NewDB initializes a new DB.
NewKVStore initializes a new boltDB key-value store at the directory path specified, creates the kv-buckets based on the schema, and stores an open connection db object as a property of the Store struct.
SetupSlasherDB instantiates and returns a SlasherDB instance.
TeardownSlasherDB cleans up a test BeaconDB instance.
TempDir returns a directory path for temporary test storage.

# Structs

Store defines an implementation of the Prysm Database interface using BoltDB as the underlying persistent kv-store for eth2.