mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +00:00
20 lines
408 B
Go
20 lines
408 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"github.com/ledgerwatch/turbo-geth/cmd/state/verify"
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
withChaindata(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)
|
||
|
},
|
||
|
}
|