Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var QueryTimeout = 90 * time.Second
View Source
var RewardsCommand = &cli.Command{ Name: "rewards", Usage: "analyze the Beacon State of a given slot range", Action: LaunchRewardsCalculator, Flags: []cli.Flag{ &cli.StringFlag{ Name: "bn-endpoint", Usage: "beacon node endpoint (to request the BeaconStates)", }, &cli.IntFlag{ Name: "init-slot", Usage: "init slot from where to start", }, &cli.IntFlag{ Name: "final-slot", Usage: "init slot from where to finish", }, &cli.StringFlag{ Name: "validator-indexes", Usage: "json file including the list of validator indexes", }, &cli.StringFlag{ Name: "log-level", Usage: "log level: debug, warn, info, error", }, &cli.StringFlag{ Name: "db-url", Usage: "example: postgresql://beaconchain:beaconchain@localhost:5432/beacon_states_kiln", }, &cli.IntFlag{ Name: "workers-num", Usage: "example: 50", }, &cli.IntFlag{ Name: "db-workers-num", Usage: "example: 50", }}, }
Functions ¶
func LaunchRewardsCalculator ¶
CrawlAction is the function that is called when running `eth2`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.