constants

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	// ClientNameFireBAM is the name of the BAM-enabled Firedancer client
	ClientNameFireBAM = "firebam"
	// 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 IsFiredancerFamily added in v0.1.42

func IsFiredancerFamily(clientName string) bool

IsFiredancerFamily reports whether a client uses Firedancer-family versioning and SFDP requirements.

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