mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
e6c056e666
* rename from Datadir to DataDir (functions and public vars) * rename dataDir to datadir (local variables)
20 lines
402 B
Go
20 lines
402 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/ledgerwatch/erigon/cmd/state/verify"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func init() {
|
|
withDataDir(verifyTxLookupCmd)
|
|
rootCmd.AddCommand(verifyTxLookupCmd)
|
|
}
|
|
|
|
var verifyTxLookupCmd = &cobra.Command{
|
|
Use: "verifyTxLookup",
|
|
Short: "Generate tx lookup index",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return verify.ValidateTxLookups(chaindata)
|
|
},
|
|
}
|