tools

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BackfillCmd = &cobra.Command{Use: "backfill", Short: "Various tools for updating merged block files"}
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 sfeth"}
View Source
var DownloadFromFirehoseCmd = &cobra.Command{
	Use:     "download-from-firehose",
	Short:   "download blocks from Firehose and save them to merged-blocks",
	Args:    cobra.ExactArgs(4),
	RunE:    downloadFromFirehoseE,
	Example: "firenear 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))
}
View Source
var GenerateNodeKeyCmd = &cobra.Command{
	Use:   "generate-node-key [<output_file>]",
	Short: "Generate a new node key JSON file suitable to be used by NEAR node, if no argument is provided, write to './node_key.json'",
	Args:  cobra.RangeArgs(0, 1),
	RunE:  generateNodeKeyE,
	Example: string(cli.ExamplePrefixed("firenear tools", `
		# Generate NEAR node key in file named 'node_key.json' in current directory
		generate-node-key

		# Generate NEAR node key in file named 'path/node_key.json'
		generate-node-key path/my_node_key.json
	`)),
}
View Source
var NormalizeMergedBlocksCmd = sftools.GetMergedBlocksUpgrader(zlog, tracer, nil)

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