# Functions
NewConsensusClientComponent creates a new instance of the ConsensusClientComponent and calls the appropriate component constructor based on the client being requested.
NewLighthouseComponent creates a new consensus client component for Lighthouse and returns a pointer to the component
Example usage:
client, err := consensusClient.NewLighthouseComponent(ctx, "testLighthouseConsensusClient", &consensusClient.ConsensusClientComponentArgs{ Connection: &remote.ConnectionArgs{ User: cfg.Require("sshUser"), // username for the ssh connection Host: cfg.Require("sshHost"), // ip address of the host PrivateKey: cfg.RequireSecret("sshPrivateKey"), // must be a secret, RequireSecret is critical for security }, Client: "lighthouse", // must be "lighthouse" Network: "mainnet", // mainnet, sepolia, or holesky DeploymentType: "source", // source, binary, docker DataDir: "/data/lighthouse", // path to the data directory }).
NewLodestarComponent creates a new consensus client component for lodestar and returns a pointer to the component
Example usage:
client, err := consensusClient.NewLodestarComponent(ctx, "testLodestarConsensusClient", &consensusClient.ConsensusClientComponentArgs{ Connection: &remote.ConnectionArgs{ User: cfg.Require("sshUser"), // username for the ssh connection Host: cfg.Require("sshHost"), // ip address of the host PrivateKey: cfg.RequireSecret("sshPrivateKey"), // must be a secret, RequireSecret is critical for security }, Client: "lodestar", // must be "lodestar" Network: "mainnet", // mainnet, sepolia, or holesky DeploymentType: "source", // source, binary, docker DataDir: "/data/lodestar", // path to the data directory }).
NewNimbusComponent creates a new consensus client component for Nimbus and returns a pointer to the component
Example usage:
client, err := consensusClient.NewNimbusComponent(ctx, "testNimbusConsensusClient", &consensusClient.ConsensusClientComponentArgs{ Connection: &remote.ConnectionArgs{ User: cfg.Require("sshUser"), // username for the ssh connection Host: cfg.Require("sshHost"), // ip address of the host PrivateKey: cfg.RequireSecret("sshPrivateKey"), // must be a secret, RequireSecret is critical for security }, Client: "nimbus", // must be "nimbus" Network: "mainnet", // mainnet, sepolia, or holesky DeploymentType: "source", // source, binary, docker DataDir: "/data/nimbus", // path to the data directory }).
No description provided by the author
NewTekuComponent creates a new consensus client component for teku and returns a pointer to the component
Example usage:
client, err := consensusClient.NewTekuComponent(ctx, "testTekuConsensusClient", &consensusClient.ConsensusClientComponentArgs{ Connection: &remote.ConnectionArgs{ User: cfg.Require("sshUser"), // username for the ssh connection Host: cfg.Require("sshHost"), // ip address of the host PrivateKey: cfg.RequireSecret("sshPrivateKey"), // must be a secret, RequireSecret is critical for security }, Client: "teku", // must be "teku" Network: "mainnet", // mainnet, sepolia, or holesky DeploymentType: "source", // source, binary, docker DataDir: "/data/teku", // path to the data directory }).
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author