db

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsensusInfoAccessDB

type ConsensusInfoAccessDB = iface.ConsensusInfoAccessDatabase

type Database

type Database = iface.Database

func NewDB

func NewDB(ctx context.Context, dirPath string, config *kv.Config) (Database, error)

NewDB initializes a new DB.

type InvalidSlotInfoDB

type InvalidSlotInfoDB = iface.InvalidSlotDatabase

type ROnlyConsensusInfoDB

type ROnlyConsensusInfoDB = iface.ReadOnlyConsensusInfoDatabase

type ROnlyInvalidSlotInfoDB

type ROnlyInvalidSlotInfoDB = iface.ReadOnlyInvalidSlotInfoDatabase

type VerifiedShardInfoDB

type VerifiedShardInfoDB = iface.VerifiedShardInfoDatabase

Directories

Path Synopsis
Package testing allows for spinning up a real bolt-db instance for unit tests throughout the Prysm repo.
Package testing allows for spinning up a real bolt-db instance for unit tests throughout the Prysm repo.

Jump to

Keyboard shortcuts

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