cmd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Validator = &cli.Uint64Flag{
		Name:     "validator",
		Usage:    "Index of the validator to check duties",
		Required: true,
	}

	Timezone = &cli.StringFlag{
		Name:  "timezone",
		Usage: "Timezone for the attestation duties",
		Value: "UTC",
	}

	BeaconNodeEndpoint = &cli.StringFlag{
		Name:  "beacon-node-endpoint",
		Usage: "A consensus client http endpoint",
		Value: "http://localhost:5052",
	}
)

Functions

func FlagOptions

func FlagOptions(c *cli.Context) ([]duties.Option, error)

Pulls the CLI options from the context and converts them into executable option functions to be processed by the validator duties manager

func Run

func Run()

Types

This section is empty.

Jump to

Keyboard shortcuts

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