From db92d903090f1ffdf5322ecf872177368d4b53d1 Mon Sep 17 00:00:00 2001 From: Victor Farazdagi Date: Wed, 30 Sep 2020 19:55:18 +0300 Subject: [PATCH] Removes unused validator flags (#7388) * removes unused validator flags * Merge branch 'master' into remove-unused-validator-flags --- validator/flags/flags.go | 48 ---------------------------------------- 1 file changed, 48 deletions(-) diff --git a/validator/flags/flags.go b/validator/flags/flags.go index a1c0cec59..50241b110 100644 --- a/validator/flags/flags.go +++ b/validator/flags/flags.go @@ -274,60 +274,12 @@ var ( Usage: "Kind of keymanager, either direct, derived, or remote, specified during wallet creation", Value: "", } - // Eth1KeystoreUTCPathFlag defines the path to an eth1 utc keystore containing eth1 private keys. - Eth1KeystoreUTCPathFlag = &cli.StringFlag{ - Name: "eth1-keystore-utc-path", - Usage: "Path to an eth1 utc keystore containing eth1 private keys", - Value: "", - } - // Eth1KeystorePasswordFileFlag to unlock an eth1 keystores. - Eth1KeystorePasswordFileFlag = &cli.StringFlag{ - Name: "eth1-keystore-password-file", - Value: "", - Usage: "Password file for unlock account", - } - // HTTPWeb3ProviderFlag provides an HTTP access endpoint to an ETH 1.0 RPC. - HTTPWeb3ProviderFlag = &cli.StringFlag{ - Name: "http-web3provider", - Usage: "An eth1 web3 provider string http endpoint", - Value: "https://goerli.prylabs.net", - } - // Eth1PrivateKeyFileFlag containing a hex string for sending deposit transactions from eth1. - Eth1PrivateKeyFileFlag = &cli.StringFlag{ - Name: "eth1-private-key-file", - Usage: "File containing a private key for sending deposit transactions from eth1", - Value: "", - } - // DepositDelaySecondsFlag to delay sending deposit transactions by a fixed interval. - DepositDelaySecondsFlag = &cli.Int64Flag{ - Name: "deposit-delay-seconds", - Usage: "The time delay between sending the deposits to the contract (in seconds)", - Value: 5, - } - // DepositContractAddressFlag for the validator deposit contract on eth1. - DepositContractAddressFlag = &cli.StringFlag{ - Name: "deposit-contract", - Usage: "Address of the deposit contract", - Value: "0x07b39F4fDE4A38bACe212b546dAc87C58DfE3fDC", // Medalla deposit contract address. - } - // DepositPublicKeysFlag for validating public keys a user wishes to deposit for. - DepositPublicKeysFlag = &cli.StringFlag{ - Name: "deposit-public-keys", - Usage: "Comma-separated list of validating public key hex strings to specify which validator accounts to deposit", - Value: "", - } // SkipDepositConfirmationFlag skips the y/n confirmation prompt for sending a deposit to the deposit contract. SkipDepositConfirmationFlag = &cli.BoolFlag{ Name: "skip-deposit-confirmation", Usage: "Skips the y/n confirmation prompt for sending a deposit to the deposit contract", Value: false, } - // DepositAllAccountsFlag is an easy way for a user to send deposit transactions for all accounts in their wallet. - DepositAllAccountsFlag = &cli.BoolFlag{ - Name: "deposit-all-accounts", - Usage: "Sends a 32 ETH deposit for each of a user's validator accounts in their wallet", - Value: false, - } // EnableWebFlag enables controlling the validator client via the Prysm web ui. This is a work in progress. EnableWebFlag = &cli.BoolFlag{ Name: "web",