store

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDBProvider

func DefaultDBProvider(ctx *DBContext) (dbm.DB, error)

func GetBlockstoreDBs

func GetBlockstoreDBs(config *types.Config) (dbm.DB, *store.BlockStore, error)

func GetStateDBs

func GetStateDBs(config *types.Config) (dbm.DB, state.Store, error)

func PruneBlocks

func PruneBlocks(home string, untilHeight int64, logger log.Logger) error

Types

type DBContext

type DBContext struct {
	ID     string
	Config *types.Config
}

Jump to

Keyboard shortcuts

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