tools

package
v1.4.22 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckCmd = &cobra.Command{Use: "check", Short: "Various checks for deployment, data integrity & debugging"}

CmdCheck is used in sf-ethereum-priv where additional checks are added.

View Source
var Cmd = &cobra.Command{Use: "tools", Short: "Developer tools related to fireeth"}
View Source
var DownloadFromFirehoseCmd = &cobra.Command{
	Use:   "download-from-firehose <endpoint> <start> <stop> <destination>",
	Short: "download blocks from firehose and save them to merged-blocks",
	Args:  cobra.ExactArgs(4),
	RunE:  downloadFromFirehoseE,
	Example: ExamplePrefixed("fireeth tools download-from-firehose", `
		api.streamingfast.io 1000 2000 ./outputdir
	`),
}
View Source
var Example = func(in string) string {
	return string(cli.Example(in))
}
View Source
var ExamplePrefixed = func(prefix, in string) string {
	return string(cli.ExamplePrefixed(prefix, in))
}

Functions

func Compare added in v1.4.12

func Compare(reference, current *pbeth.Block, ignoreUnknown bool) (isEqual bool, differences []string)

func CompareFirehoseToRPC added in v1.4.13

func CompareFirehoseToRPC(fhBlock *pbeth.Block, rpcBlock *rpc.Block, logs []*rpc.LogEntry) (isEqual bool, differences []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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