debug

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:          "debug",
	Short:        "htdf debug tool",
	SilenceUsage: true,
}

Functions

This section is empty.

Types

type HtdfApp

type HtdfApp struct {
	*bam.BaseApp
}

Extended ABCI application

func NewHtdfApp

func NewHtdfApp(logger log.Logger, db dbm.DB, baseAppOptions ...func(*bam.BaseApp)) *HtdfApp

func (*HtdfApp) ExportAppStateAndValidators

func (app *HtdfApp) ExportAppStateAndValidators(forZeroHeight bool) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)

export the state of htdf for a genesis file

func (*HtdfApp) LoadHeight

func (app *HtdfApp) LoadHeight(height int64) error

Jump to

Keyboard shortcuts

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