client_consts

package
v1.0.0-beta.rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZeusConfigMapConsensusClient = "cm-consensus-client"
	ZeusConsensusClient          = "zeus-consensus-client"
	Lighthouse                   = "lighthouse"
	Prysm                        = "prysm"
	Lodestar                     = "lodestar"
	Teku                         = "teku"
)
View Source
const (
	ZeusConfigMapExecClient = "cm-exex-client"
	ZeusExecClient          = "zeus-exec-client"
	Erigon                  = "erigon"
	Geth                    = "geth"
	Reth                    = "reth"
	Nethermind              = "nethermind"
)

TODO others

Variables

View Source
var (
	LighthouseBeaconPorts          = []string{"5052:5052"}
	LighthouseValidatorClientPorts = []string{"5062:5062"}
	LodestartBeaconPorts           = []string{"9596:9596"}

	LighthouseWeb3SignerAPIEndpoint = "/lighthouse/validators/web3signer"

	HerculesPorts                       = []string{"9003:9003"}
	HerculesLighthouseAuthTokenEndpoint = "/v1beta/internal/ethereum/lighthouse/validator/auth"
)
View Source
var GethBeaconPorts = []string{"8545:8545"}

Functions

func GetAnyClientApiPorts

func GetAnyClientApiPorts(clientName string) []string

func GetClientBeaconPortsHTTP

func GetClientBeaconPortsHTTP(clientName string) []string

func IsConsensusClient

func IsConsensusClient(name string) bool

func IsExecClient

func IsExecClient(name string) bool

Types

type ConsensusClientSyncStatus

type ConsensusClientSyncStatus struct {
	Data struct {
		HeadSlot     string `json:"head_slot"`
		SyncDistance string `json:"sync_distance"`
		IsSyncing    bool   `json:"is_syncing"`
	} `json:"data"`
}

type ExecClientSyncStatus

type ExecClientSyncStatus struct {
	JsonRPC string `json:"jsonrpc"`
	Id      int    `json:"id"`
	Result  bool   `json:"result"`
}

Jump to

Keyboard shortcuts

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