erigon-pulse/cmd/state/commands/check_enc.go
b00ris cc137af1ce
[WIP] New storage changeset encoding (#493)
* new storage changeset encoding

* fix lint
2020-04-28 08:41:55 +01:00

21 lines
402 B
Go

package commands
import (
"github.com/ledgerwatch/turbo-geth/cmd/state/stats"
"github.com/spf13/cobra"
)
func init() {
withChaindata(checkEncCmd)
withStatsfile(checkEncCmd)
rootCmd.AddCommand(checkEncCmd)
}
var checkEncCmd = &cobra.Command{
Use: "checkEnc",
Short: "Check changesets Encoding",
RunE: func(cmd *cobra.Command, args []string) error {
return stats.CheckEnc(chaindata)
},
}