Updated on December 15, 2021
voluntary-exit
Create and sign a voluntary exit for the specified validator or set of validators.
beacon-node-api-endpoint
teku voluntary-exit --beacon-node-api-endpoint=<ENDPOINT>
teku voluntary-exit --beacon-node-api-endpoint=http://192.138.10.12
TEKU_BEACON_NODE_ENDPOINT=http://192.138.10.12
beacon-node-api-endpoint: "http://192.138.10.12"
Endpoint of the beacon node’s REST API. The default is http://127.0.0.1:5051
.
config-file
teku voluntary-exit --config-file=<FILE>
teku voluntary-exit --config-file=/home/me/me_node/config.yaml
TEKU_CONFIG_FILE=/home/me/me_node/config.yaml
Path to the YAML configuration file.
The default is none
.
confirmation-enabled
teku voluntary-exit --confirmation-enabled=<BOOLEAN>
teku voluntary-exit --confirmation-enabled=false
TEKU_CONFIRMATION_ENABLED=false
confirmation-enabled: false
Specify whether to request confirmation when exiting a validator. The default is true
.
Danger
If you set --confirmation-enabled
to false
, exits are generated immediately without any prompt.
epoch
teku voluntary-exit --epoch=<EPOCH>
teku voluntary-exit --epoch=24500
TEKU_EPOCH=24500
Earliest epoch that the voluntary exit can be processed. The specified epoch can be a past epoch, or current epoch. You cannot specify a future epoch. The default is the current epoch.
Note
If there is a high number of validators that are queued to exit, then the validator exit may be processed at a later epoch.
validator-keys
teku voluntary-exit --validator-keys=<KEY_DIR>:<PASS_DIR> | <KEY_FILE>:<PASS_FILE>[,<KEY_DIR>:<PASS_DIR> | <KEY_FILE>:<PASS_FILE>...]...
teku voluntary-exit --validator-keys=/home/validator/keys:home/validator/passwords
teku voluntary-exit --validator-keys=/home/validator/keys/validator_217179e.json:/home/validator/passwords/validator_217179e.txt
TEKU_VALIDATOR_KEYS=/home/validator/keys:home/validator/passwords
validator-keys: "/home/validator/keys:home/validator/passwords"
Directory or file to load the encrypted keystores and passwords of the validators that you wish to
exit. Keystore files must use the .json
file extension, and password files must use the .txt
file extension.
When specifying directories, Teku expects to find identically named
keystore and password files. For example validator_217179e.json
and validator_217179e.txt
.
When specifying file names, Teku expects that the files exist.
Note
The path separator is operating system dependent, and should be ;
in Windows rather than :
.
validators-external-signer-keystore
teku voluntary-exit --validators-external-signer-keystore=<FILE>
teku voluntary-exit --validators-external-signer-keystore=teku_client_keystore.p12
TEKU_VALIDATORS_EXTERNAL_KEYSTORE=teku_client_keystore.p12
validators-external-signer-keystore: "teku_client_keystore.p12"
The keystore that Teku presents to the external signer for TLS authentication. Teku can use PKCS12 or JKS keystore types.
Use the PKCS12 keystore type if connecting to Web3Signer.
validators-external-signer-keystore-password-file
teku voluntary-exit --validators-external-signer-keystore-password-file=<FILE>
teku voluntary-exit --validators-external-signer-keystore-password-file=keystore_pass.txt
TEKU_VALIDATORS_EXTERNAL_KEYSTORE_PASSWORD_FILE=keystore_pass.txt
validators-external-signer-keystore-password-file: "keystore_pass.txt"
Password file used to decrypt the keystore.
validators-external-signer-public-keys
teku voluntary-exit --validators-external-signer-public-keys=<KEY>[,<KEY>...]
teku voluntary-exit --validators-external-signer-public-keys=0xa99a...e44c,0xb89b...4a0b
TEKU_VALIDATORS_EXTERNAL_SIGNER_PUBLIC_KEYS=0xa99a...e44c,0xb89b...4a0b
validators-external-signer-public-keys: ["0xa99a...e44c","0xb89b...4a0b"]
List of public keys of validators that you wish to voluntarily exit when using an external signer (for example, Web3Signer).
validators-external-signer-timeout
teku voluntary-exit --validators-external-signer-timeout=<INTEGER>
teku voluntary-exit --validators-external-signer-timeout=2000
TEKU_VALIDATORS_EXTERNAL_SIGNER_TIMEOUT=2000
validators-external-signer-timeout: 2000
Timeout in milliseconds for requests to the external signer. The default is 5000.
validators-external-signer-truststore
teku voluntary-exit --validators-external-signer-truststore=<FILE>
teku voluntary-exit --validators-external-signer-truststore=websigner_truststore.p12
TEKU_VALIDATORS_EXTERNAL_TRUSTSTORE=websigner_truststore.p12
validators-external-signer-truststore: "websigner_truststore.p12"
PKCS12 or JKS keystore used to trust external signer’s self-signed certificate or CA certificate which signs the external signer’s certificate.
validators-external-signer-truststore-password-file
teku voluntary-exit --validators-external-signer-truststore-password-file=<FILE>
teku voluntary-exit --validators-external-signer-truststore-password-file=truststore_pass.txt
TEKU_VALIDATORS_EXTERNAL_TRUSTSTORE_PASSWORD_FILE=truststore_pass.txt
validators-external-signer-truststore-password-file: "truststore_pass.txt"
Password file used to decrypt the keystore.
validators-external-signer-url
teku voluntary-exit --validators-external-signer-url=<URL>
teku voluntary-exit --validators-external-signer-url=http://localhost:9000
TEKU_VALIDATORS_EXTERNAL_SIGNER_URL=http://localhost:9000
validators-external-signer-url: "http://localhost:9000"
URL of the external signer (for example, Web3Signer).