cmd

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Now = time.Now().Unix()

	// HTTPWeb3ProviderFlag provides an HTTP access endpoint to an ETH 1.0 RPC.
	VanguardRPCEndpoint = &cli.StringFlag{
		Name:  "vanguard-rpc-endpoint",
		Usage: "Vanguard node RPC provider endpoint(Default: 127.0.0.1:4000",
		Value: "127.0.0.1:4000",
	}

	PandoraRPCEndpoint = &cli.StringFlag{
		Name:  "pandora-rpc-endpoint",
		Usage: "Pandora node RP provider endpoint(Default: http://127.0.0.1:8545",
		Value: "http://127.0.0.1:8545",
	}

	GenesisTime = &cli.Uint64Flag{
		Name:  "genesis-time",
		Usage: "Genesis time of the network",
		Value: uint64(Now),
	}

	// VerbosityFlag defines the logrus configuration.
	VerbosityFlag = &cli.StringFlag{
		Name:  "verbosity",
		Usage: "Logging verbosity (trace, debug, info=default, warn, error, fatal, panic)",
		Value: "info",
	}
)

Functions

func WrapFlags

func WrapFlags(flags []cli.Flag) []cli.Flag

WrapFlags so that they can be loaded from alternative sources.

Types

This section is empty.

Jump to

Keyboard shortcuts

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