Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoHealthyNodeAvailableForVersionCheck = errors.New("no healthy node available for version check")
Functions ¶
func GetNetworkVersionThroughGRPC ¶ added in v0.59.0
func IsUnreleased ¶
func IsUnreleased() bool
Types ¶
type GetVersionResponse ¶
type GetVersionResponse struct { Version string `json:"version"` GitHash string `json:"gitHash"` NetworksCompatibility []NetworkCompatibility `json:"networksCompatibility"` }
func GetVersionInfo ¶
func GetVersionInfo(netStore NetworkStore, requestVersionFn RequestVersionFn) *GetVersionResponse
type NetworkCompatibility ¶ added in v0.59.0
type NetworkStore ¶ added in v0.55.0
type RequestVersionFn ¶ added in v0.55.0
RequestVersionFn is the function in charge of retrieving the network version ran by the host lists.
Click to show internal directories.
Click to hide internal directories.