eth

package
v0.0.0-...-0127a75 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Command = cli.Command{
		Name:  "eth",
		Usage: "Node bridge for ETH/ETC network",
		Flags: []cli.Flag{
			cli.BoolFlag{
				Name:        "classic",
				Usage:       "Whether node bridge is connected to a ETC node",
				Destination: &classic,
			},
			cli.StringFlag{
				Name:        "rpc_addr",
				Usage:       "Node RPC address in <protocol>//<address>:<port> format",
				Destination: &rpcAddress,
				Required:    true,
			},
			cli.DurationFlag{
				Name:        "rpc_interval",
				Usage:       "Node RPC interval",
				Value:       3 * time.Second,
				Destination: &rpcInterval,
			},
			cli.DurationFlag{
				Name:        "notify_timeout",
				Usage:       "Node RPC notification timeout",
				Value:       30 * time.Second,
				Destination: &notifyTimeout,
			},
			cli.StringFlag{
				Name:        "kafka_brokers",
				Usage:       "Kafka broker address in comma separated <address>:<port> format",
				Destination: &kafkaBrokers,
				Required:    true,
			},
			cli.StringFlag{
				Name:        "rawgw_topic",
				Usage:       "Kafka topic for raw getwork messages",
				Required:    true,
				Destination: &rawGwTopic,
			},
		},
		Action: run,
	}
)

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