github.com/kotalco/kotal@v0.3.0/clients/ethereum2/types.go (about) 1 package ethereum2 2 3 // Client home directories 4 const ( 5 // TekuHomeDir is teku home directory 6 TekuHomeDir = "/opt/teku" 7 // PrysmHomeDir is prysm home directory 8 PrysmHomeDir = "/home/prysm" 9 // NimbusHomeDir is nimbus home directory 10 NimbusHomeDir = "/home/nimbus" 11 // LighthouseHomeDir is lighthouse home directory 12 LighthouseHomeDir = "/home/lighthouse" 13 ) 14 15 // Teku client arguments 16 const ( 17 // TekuNetwork is the argument used for selecting network 18 TekuNetwork = "--network" 19 // TekuExecutionEngineEndpoint is the argument used to set execution engine endpoint 20 TekuExecutionEngineEndpoint = "--ee-endpoint" 21 // TekuFeeRecipient is the argument used to set default fee recipient 22 TekuFeeRecipient = "--validators-proposer-default-fee-recipient" 23 // TekuJwtSecretFile is the argument used to locate jwt secret file 24 TekuJwtSecretFile = "--ee-jwt-secret-file" 25 // TekuDataPath is the argument used for data directory 26 TekuDataPath = "--data-path" 27 // TekuRestEnabled is the argument used to enable Beacon REST API 28 TekuRestEnabled = "--rest-api-enabled" 29 // TekuRestPort is the argument used for Beacon REST API server port 30 TekuRestPort = "--rest-api-port" 31 // TekuRestHost is the argument used for Beacon REST API server host 32 TekuRestHost = "--rest-api-interface" 33 // TekuP2PPort is the argument used p2p and discovery port 34 TekuP2PPort = "--p2p-port" 35 // TekuRESTAPICorsOrigins is the argument used to whitelist domains for cross domain requests 36 TekuRESTAPICorsOrigins = "--rest-api-cors-origins" 37 // TekuRESTAPIHostAllowlist is the argument used to whitelist hosts for API access 38 TekuRESTAPIHostAllowlist = "--rest-api-host-allowlist" 39 // TekuLogging is the argument used to set logging verbosity level 40 TekuLogging = "--logging" 41 // TekuInitialState is the argument used for checkpoint sync 42 TekuInitialState = "--initial-state" 43 // TekuVC is the argument used to run validator client 44 TekuVC = "vc" 45 // TekuBeaconNodeEndpoint is the argument used for beacon node api endpoint 46 TekuBeaconNodeEndpoint = "--beacon-node-api-endpoint" 47 // TekuGraffiti is the argument used for text include in proposed blocks 48 TekuGraffiti = "--validators-graffiti" 49 // TekuValidatorKeys is the argument used for Validator keys and secrets 50 TekuValidatorKeys = "--validator-keys" 51 // TekuValidatorsKeystoreLockingEnabled is the argument used to enable keystore locking files 52 TekuValidatorsKeystoreLockingEnabled = "--validators-keystore-locking-enabled" 53 ) 54 55 // Prysm client arguments 56 const ( 57 // PrysmDataDir is the argument used for data directory 58 PrysmDataDir = "--datadir" 59 // PrysmExecutionEngineEndpoint is the argument used to set execution engine endpoint 60 PrysmExecutionEngineEndpoint = "--execution-endpoint" 61 // PrysmFeeRecipient is the argument used to set fee recipient 62 PrysmFeeRecipient = "--suggested-fee-recipient" 63 // PrysmJwtSecretFile is the argument used to locate jwt secret file 64 PrysmJwtSecretFile = "--jwt-secret" 65 // PrysmCheckpointSyncUrl is the argument used to set checkpoint sync beacon node rest api endpoint 66 PrysmCheckpointSyncUrl = "--checkpoint-sync-url" 67 // PrysmGenesisBeaconApiUrl is the argument used to set genesis beacon node api url 68 PrysmGenesisBeaconApiUrl = "--genesis-beacon-api-url" 69 // PrysmAcceptTermsOfUse is the argument used for accepting terms of use 70 PrysmAcceptTermsOfUse = "--accept-terms-of-use" 71 // PrysmRPCPort is the argument used for RPC server port 72 PrysmRPCPort = "--rpc-port" 73 // PrysmRPCHost is the argument used for host on which RPC server should listen 74 PrysmRPCHost = "--rpc-host" 75 // PrysmDisableGRPC is the argument used to disable GRPC gateway server 76 PrysmDisableGRPC = "--disable-grpc-gateway" 77 // PrysmGRPCPort is the argument used for GRPC gateway server port 78 PrysmGRPCPort = "--grpc-gateway-port" 79 // PrysmGRPCHost is the argument used for GRPC gateway server host 80 PrysmGRPCHost = "--grpc-gateway-host" 81 // PrysmP2PTCPPort is the argument used p2p tcp port 82 PrysmP2PTCPPort = "--p2p-tcp-port" 83 // PrysmP2PUDPPort is the argument used p2p discovery udp port 84 PrysmP2PUDPPort = "--p2p-udp-port" 85 // PrysmGRPCGatewayCorsDomains is the argument used to whitelist domains for cross domain requests 86 PrysmGRPCGatewayCorsDomains = "--grpc-gateway-corsdomain" 87 // PrysmLogging is the argument used to set logging verbosity level 88 PrysmLogging = "--verbosity" 89 90 // PrysmTLSCert is the argument used to locate tls certificate 91 PrysmTLSCert = "--tls-cert" 92 // PrysmTLSKey is the argument used to locate tls key 93 PrysmTLSKey = "--tls-key" 94 95 // PrysmBeaconRPCProvider is the argument used for beacon node rpc endpoint 96 PrysmBeaconRPCProvider = "--beacon-rpc-provider" 97 // PrysmGraffiti is the argument used to include in proposed blocks 98 PrysmGraffiti = "--graffiti" 99 // PrysmKeysDir is the argument used to locate keystores to be imported are stored 100 PrysmKeysDir = "--keys-dir" 101 // PrysmWalletDir is the argument used to locate wallet directory 102 PrysmWalletDir = "--wallet-dir" 103 // PrysmAccountPasswordFile is the argument used to locate account password file 104 PrysmAccountPasswordFile = "--account-password-file" 105 // PrysmWalletPasswordFile is the argument used to locate wallet password file 106 PrysmWalletPasswordFile = "--wallet-password-file" 107 ) 108 109 // Lighthouse client arguments 110 const ( 111 // LighthouseDataDir is the argument used for data directory 112 LighthouseDataDir = "--datadir" 113 // LighthouseNetwork is the argument used for selecting network 114 LighthouseNetwork = "--network" 115 // LighthouseCheckpointSyncUrl is the argument used for checkpoint sync 116 LighthouseCheckpointSyncUrl = "--checkpoint-sync-url" 117 // LighthouseHTTP is the argument used to enable Beacon REST API 118 LighthouseHTTP = "--http" 119 // LighthouseAllowOrigins is the argument used to whitelist domains for cross domain requests 120 LighthouseAllowOrigins = "--http-allow-origin" 121 // LighthouseHTTPPort is the argument used for Beacon REST API server port 122 LighthouseHTTPPort = "--http-port" 123 // LighthouseHTTPAddress is the argument used for Beacon REST API server host 124 LighthouseHTTPAddress = "--http-address" 125 // LighthouseExecutionEngineEndpoint is the argument used for Execution engine endpoint 126 LighthouseExecutionEngineEndpoint = "--execution-endpoint" 127 // LighthouseJwtSecretFile is the argument used to locate jwt secret file 128 LighthouseJwtSecretFile = "--execution-jwt" 129 // LighthouseFeeRecipient is the argument used to set fee recipient 130 LighthouseFeeRecipient = "--suggested-fee-recipient" 131 // LighthousePort is the argument used for p2p tcp port 132 LighthousePort = "--port" 133 // LighthouseDiscoveryPort is the argument used for discovery udp port 134 LighthouseDiscoveryPort = "--discovery-port" 135 // LighthouseDebugLevel is the argument used to set logging verbosity level 136 LighthouseDebugLevel = "--debug-level" 137 138 // LighthouseBeaconNodeEndpoints is the argument used for beacon node endpoint 139 LighthouseBeaconNodeEndpoints = "--beacon-nodes" 140 // LighthouseGraffiti is the argument used to include in proposed blocks 141 LighthouseGraffiti = "--graffiti" 142 // LighthouseDisableAutoDiscover is the argument used to disable auto validator keystores discovery 143 LighthouseDisableAutoDiscover = "--disable-auto-discover" 144 // LighthouseInitSlashingProtection is the argument used to init slashing protection 145 LighthouseInitSlashingProtection = "--init-slashing-protection" 146 // LighthouseReusePassword is the argument used to reuse password during keystore import 147 LighthouseReusePassword = "--reuse-password" 148 // LighthouseKeystore is the argument used to locate keystore file 149 LighthouseKeystore = "--keystore" 150 // LighthousePasswordFile is the argument used to locate password file 151 LighthousePasswordFile = "--password-file" 152 ) 153 154 // Nimbus client arguments 155 const ( 156 // NimbusDataDir is the argument used for data directory 157 NimbusDataDir = "--data-dir" 158 // NimbusNonInteractive is the argument used for non interactive mode 159 NimbusNonInteractive = "--non-interactive" 160 // NimbusNetwork is the argument used for selecting network 161 NimbusNetwork = "--network" 162 // NimbusExecutionEngineEndpoint is the argument used for Execution engine endpoint 163 NimbusExecutionEngineEndpoint = "--web3-url" 164 // NimbusJwtSecretFile is the argument used to locate jwt secret file 165 NimbusJwtSecretFile = "--jwt-secret" 166 // NimbusFeeRecipient is the argument used to set fee recipient 167 NimbusFeeRecipient = "--suggested-fee-recipient" 168 // NimbusTCPPort is the argument used for p2p tcp port 169 NimbusTCPPort = "--tcp-port" 170 // NimbusUDPPort is the argument used for discovery udp port 171 NimbusUDPPort = "--udp-port" 172 // NimbusLogging is the argument used to set logging verbosity level 173 NimbusLogging = "--log-level" 174 // NimbusREST is the argument used to enable REST server 175 NimbusREST = "--rest" 176 // NimbusRESTPort is the argument used to set REST server port 177 NimbusRESTPort = "--rest-port" 178 // NimbusRESTAddress is the argument used to set REST server listening address 179 NimbusRESTAddress = "--rest-address" 180 // NimbusRESTAllowOrigin is the argument used to limit access to the REST API 181 NimbusRESTAllowOrigin = "--rest-allow-origin" 182 // NimbusGraffiti is the argument used to include in proposed blocks 183 NimbusGraffiti = "--graffiti" 184 // NimbusValidatorsDir is the argument used to locate validator keystores directory 185 NimbusValidatorsDir = "--validators-dir" 186 // NimbusSecretsDir is the argument used to locate validator keystores secrets directory 187 NimbusSecretsDir = "--secrets-dir" 188 // NimbusBeaconNodes is the argument used to set one or more beacon node HTTP REST APIs 189 NimbusBeaconNodes = "--beacon-node" 190 )