mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
cc137af1ce
* new storage changeset encoding * fix lint
21 lines
402 B
Go
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)
|
|
},
|
|
}
|