Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MigrateDataCmd = &cobra.Command{
Use: "migrate",
Short: "Tendermint data migrator",
RunE: migrateData,
}
View Source
var ResetBlockCmd = &cobra.Command{
Use: "recover",
Short: "Tendermint block recover",
RunE: resetBlockHeight,
}
View Source
var RootCmd = &cobra.Command{ Use: "tm_tools", Short: "Tendermint upgrade tools in Go", PersistentPreRunE: func(cmd *cobra.Command, args []string) (err error) { if cmd.Name() == VersionCmd.Name() { return nil } log.Log.SetDebugLevel(cli.DefaultLogLevel()) startPerformanceTracePort() return nil }, }
View Source
var VersionCmd = &cobra.Command{ Use: "version", Short: "Show version info", Run: func(cmd *cobra.Command, args []string) { fmt.Println(version.Version) }, }
View Source
var ViewDatabaseCmd = &cobra.Command{
Use: "view",
Short: "Tendermint database viewer",
RunE: viewDatabase,
}
View Source
var ViewWalCmd = &cobra.Command{
Use: "cswal",
Short: "Tendermint cs.wal viewer",
RunE: showCsWal,
}
Functions ¶
This section is empty.
Types ¶
type CsWalParameter ¶
type CsWalParameter struct {
// contains filtered or unexported fields
}
type DbHandler ¶
func CreateViewDbHolder ¶
func (*DbHandler) GetAllRecordKeys ¶
func (d *DbHandler) GetAllRecordKeys()
func (*DbHandler) GetDataByKey ¶
func (d *DbHandler) GetDataByKey()
type MigrateParam ¶
type MigrateParam struct {
// contains filtered or unexported fields
}
type RecoverParam ¶
type RecoverParam struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.