rb

package
v0.0.0-...-7718fd7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadBlockMeta

func LoadBlockMeta(db dbm.DB, height int64) *types.BlockMeta

func PruneRangeBlocks

func PruneRangeBlocks(db dbm.DB, start int64, height int64) (uint64, error)

PruneRangeBlocks removes block up to (but not including) a height. It returns the number of blocks pruned.

func RollbackApp

func RollbackApp(home string, storeKeys map[string]*sdk.KVStoreKey, height int64) error

func RollbackBlockAndState

func RollbackBlockAndState(home string, height int64, config *cfg.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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