constants

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ClientNameAgave is the name of the Agave client
	ClientNameAgave = "agave"
	// ClientNameJitoSolana is the name of the Jito Solana client
	ClientNameJitoSolana = "jito-solana"
	// ClientNameRakurai is the canonical name of the Rakurai validator client
	ClientNameRakurai = "rakurai-validator"
	// ClientNameFiredancer is the name of the Firedancer client
	ClientNameFiredancer = "firedancer"
	// ClusterNameMainnetBeta is the name of the Mainnet Beta cluster
	ClusterNameMainnetBeta = "mainnet-beta"
	// ClusterNameTestnet is the name of the Testnet cluster
	ClusterNameTestnet = "testnet"
)

Variables

ValidClientNames is a list of valid canonical client names

ValidClusterNames is a list of valid cluster names

Functions

func NormalizeClientName added in v0.1.18

func NormalizeClientName(clientName string) string

NormalizeClientName maps legacy client names to their canonical form.

func ValidateClientName

func ValidateClientName(clientName string) (err error)

ValidateClientName validates a client name

func ValidateClusterName

func ValidateClusterName(clusterName string) (err error)

ValidateClusterName validates a cluster name

Types

This section is empty.

Jump to

Keyboard shortcuts

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