constants

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandMe         = "me"
	CommandHelp       = "help"
	CommandChains     = "chains"
	CommandValidators = "validators"
	CommandPause      = "pause"
	CommandStatus     = "status"
	CommandLast       = "last"
	CommandSearch     = "search"
	CommandSilent     = "silent"
)
View Source
const (
	MINIMUM_BETWEEN_TELEGRAM_PUSH_SAME_USER = 1 * time.Minute

	BATCH_SIZE_TELEGRAM_PUSH_PER_USER = 20

	BATCH_MESSAGES_LINE_DIVIDER = "\n---\n"

	INFORM_TELEGRAM_IF_BLOCK_OLDER_THAN = 3 * time.Minute

	SILENT_PATTERN_MINIMUM_LENGTH = 10
)
View Source
const (
	APP_NAME    = "Validator Health-check daemon"
	APP_DESC    = "Health-check validators"
	BINARY_NAME = "hcvald"

	DEFAULT_HOME           = "." + BINARY_NAME
	CONFIG_FILE_NAME       = "config." + CONFIG_TYPE
	USERS_FILE_NAME        = "users." + CONFIG_TYPE
	CHAIN_FILE_NAME_PREFIX = "chain."
	CONFIG_TYPE            = "yaml"
)
View Source
const (
	FILE_PERMISSION     = 0o600
	FILE_PERMISSION_STR = "600"
)
View Source
const (
	FLAG_HOME = "home"
)
View Source
const (
	MINIMUM_WORKER_HEALTH_CHECK = 5
)

Variables

View Source
var (
	VERSION     = ""
	COMMIT_HASH = ""
	BUILD_DATE  = ""
)

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