watchtower

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 62 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OptimismMessengerAbi string = `` /* 313-byte string literal not displayed */

	PolygonMessengerAbi string = `` /* 313-byte string literal not displayed */

	ArbitrumMessengerAbi string = `` /* 582-byte string literal not displayed */

	RplTwapPoolAbi string = `` /* 397-byte string literal not displayed */

)
View Source
const (
	SubmissionKey                      string  = "network.prices.submitted.node.key"
	BlocksPerTurn                      uint64  = 75  // Approx. 15 minutes
	RplPriceDecreaseDeviationThreshold float64 = 0.5 // Error out if price drops >50%
	RplPriceIncreaseDeviationThreshold float64 = 1.6 // Error out if price rises >60%

)

Settings

View Source
const (
	MaxConcurrentEth1Requests = 200

	RespondChallengesColor         = color.FgWhite
	ClaimRplRewardsColor           = color.FgGreen
	SubmitRplPriceColor            = color.FgYellow
	SubmitNetworkBalancesColor     = color.FgYellow
	DissolveTimedOutMinipoolsColor = color.FgMagenta
	SubmitScrubMinipoolsColor      = color.FgHiGreen
	ErrorColor                     = color.FgRed
	MetricsColor                   = color.FgHiYellow
	SubmitRewardsTreeColor         = color.FgHiCyan
	WarningColor                   = color.FgYellow
	ProcessPenaltiesColor          = color.FgHiMagenta
	CancelBondsColor               = color.FgGreen
	CheckSoloMigrationsColor       = color.FgCyan
	UpdateColor                    = color.FgHiWhite
)
View Source
const BlockStartOffset = 100000
View Source
const MinScrubSafetyTime = time.Duration(0) * time.Hour
View Source
const MinipoolBatchSize = 20

Settings

View Source
const MinipoolStatusBatchSize = 20

Settings

View Source
const NewPenaltyScanBuffer = 400000

Number of slots to go back in time and scan for penalties if state is empty (400k is approx. 8 weeks)

View Source
const ScrubSafetyDivider = 2

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(app *cli.App, name string, aliases []string)

Register watchtower command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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