db

package
v0.0.28-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 27, 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 VerifiedSlotInfoDB

type VerifiedSlotInfoDB = iface.VerifiedSlotDatabase

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