Documentation ¶
Index ¶
- type TaikoNode
- type TaikoNodes
- func (all TaikoNodes) L1BeaconChainClients() beacon.BeaconClients
- func (all TaikoNodes) L1ExecutionClients() execution.ExecutionClients
- func (all TaikoNodes) L1L2ProtocolDeployerClients() protocol_deployer.ProtocolDeployerClients
- func (all TaikoNodes) L1ValidatorClients() validator.ValidatorClients
- func (all TaikoNodes) L2DriverClients() driver.DriverClients
- func (all TaikoNodes) L2ExecutionClients() execution.ExecutionClients
- func (all TaikoNodes) L2ProposerClients() proposer.ProposerClients
- func (all TaikoNodes) L2ProverClients() prover.ProverClients
- func (all TaikoNodes) Running() TaikoNodes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaikoNode ¶
type TaikoNode struct { // Logging interface for all the events that happen in the node Logging utils.Logging // Index of the node in the network/testnet Index int // Clients that comprise the node L1ExecutionClient *execution.ExecutionClient L1BeaconChainClient *beacon.BeaconClient L1ValidatorClient *validator.ValidatorClient L2ExecutionClient *execution.ExecutionClient L1L2ProtocolDeployerClient *protocol_deployer.ProtocolDeployerClient L2DriverClient *driver.DriverClient L2ProposerClient *proposer.ProposerClient L2ProverClient *prover.ProverClient }
A node bundles together: - Running L1/L2 Execution clients - Running L1 Beacon Chain client - Running L1 Validator client - Running Protocol Deployer - Running Driver client - Running Proposer client - Running Prover client
func (*TaikoNode) ClientNames ¶
type TaikoNodes ¶
type TaikoNodes []*TaikoNode
Node cluster operations
func (TaikoNodes) L1BeaconChainClients ¶
func (all TaikoNodes) L1BeaconChainClients() beacon.BeaconClients
Return all L1 beacon chain clients, even the ones not currently running
func (TaikoNodes) L1ExecutionClients ¶
func (all TaikoNodes) L1ExecutionClients() execution.ExecutionClients
Return all L1 execution clients, even the ones not currently running
func (TaikoNodes) L1L2ProtocolDeployerClients ¶
func (all TaikoNodes) L1L2ProtocolDeployerClients() protocol_deployer.ProtocolDeployerClients
Return all L1L2 protocol deployer clients, even the ones not currently running
func (TaikoNodes) L1ValidatorClients ¶
func (all TaikoNodes) L1ValidatorClients() validator.ValidatorClients
Return all L1 validator clients, even the ones not currently running
func (TaikoNodes) L2DriverClients ¶
func (all TaikoNodes) L2DriverClients() driver.DriverClients
Return all L2 driver clients, even the ones not currently running
func (TaikoNodes) L2ExecutionClients ¶
func (all TaikoNodes) L2ExecutionClients() execution.ExecutionClients
Return all L2 execution clients, even the ones not currently running
func (TaikoNodes) L2ProposerClients ¶
func (all TaikoNodes) L2ProposerClients() proposer.ProposerClients
Return all L2 proposer clients, even the ones not currently running
func (TaikoNodes) L2ProverClients ¶
func (all TaikoNodes) L2ProverClients() prover.ProverClients
Return all L2 prover clients, even the ones not currently running
func (TaikoNodes) Running ¶
func (all TaikoNodes) Running() TaikoNodes
Return subset of nodes that are currently running