package
0.3.10
Repository: https://github.com/prysmaticlabs/go-ethereum.git
Documentation: pkg.go.dev

# Packages

Package iface exists to prevent circular dependencies when implementing the database interface.

# Functions

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.
SetupDB instantiates and returns a DB instance for the validator client.
TeardownDB cleans up a test DB 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.