tools

package
v1.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrActionNoMatch      = errors.New("action no match")
	ErrReceiptNoMatch     = errors.New("receipt no match")
	ErrTransactionNoMatch = errors.New("transaction no match")
)
View Source
var VerifyDB = &cli.Command{
	Name:        "verify_db",
	Usage:       "verify_db --start=<startBlkNum> --end=<endBlkNum> --worker <workerSize>",
	Description: "verify_db will verify the db by blkNum",
	Flags: []cli.Flag{
		&cli.Uint64Flag{
			Name:  "start",
			Usage: "start block number",
			Value: 1,
		},
		&cli.Uint64Flag{
			Name:  "end",
			Usage: "end block number",
			Value: 1,
		},
		&cli.IntFlag{
			Name:  "worker",
			Usage: "worker thread num",
			Value: runtime.NumCPU(),
		},
	},
	Action: verifyDB,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL