store

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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 Prune added in v0.3.0

func Prune(home string, untilHeight int64, statePruning bool, 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