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 ¶
View Source
var ValidClientNames = []string{ClientNameAgave, ClientNameJitoSolana, ClientNameRakurai, ClientNameFiredancer}
ValidClientNames is a list of valid canonical client names
View Source
var ValidClusterNames = []string{ClusterNameMainnetBeta, ClusterNameTestnet}
ValidClusterNames is a list of valid cluster names
Functions ¶
func NormalizeClientName ¶ added in v0.1.18
NormalizeClientName maps legacy client names to their canonical form.
func ValidateClientName ¶
ValidateClientName validates a client name
func ValidateClusterName ¶
ValidateClusterName validates a cluster name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.