Skip to content

Commit

Permalink
Add graffiti file option. (#254)
Browse files Browse the repository at this point in the history
* Add  CLI option to disable built-in slashing protection for external signers.

Signed-off-by: Byron Gravenorst <[email protected]>

* Add instructions to connect to mainnet.

Signed-off-by: Byron Gravenorst <[email protected]>

* updating submodule to latest

* Add instructions to connect to mainnet.

Signed-off-by: Byron Gravenorst <[email protected]>

* Fix markdown issue.

Signed-off-by: Byron Gravenorst <[email protected]>

* Add graffiti file option.

Signed-off-by: Byron Gravenorst <[email protected]>

* Update CLI-Syntax.md

Remove trailing space

* Update CLI-Syntax.md

Fix typo
  • Loading branch information
bgravenorst authored Feb 15, 2021
1 parent ddc6bd9 commit 21e5104
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion docs/Reference/CLI/CLI-Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ List or URL of validator public keys used by an external signer (for example, We

Use the URL of the external signer's [`/publicKeys` endpoint](https://consensys.github.io/web3signer/web3signer-eth2.html#tag/Public-Key)
to load the public keys of all registered validators. For example:

```bash
--validators-external-signer-public-keys=http://localhost:9000/api/v1/eth2/publicKeys
```
Expand Down Expand Up @@ -1686,6 +1686,42 @@ Graffiti to add when creating a block. Gets converted to bytes and padded to Byt

The same graffiti is used for all validators started with this beacon node.

[`--validators-graffiti-file`](#validators-graffiti-file) takes precedence if both options are set.

### validators-graffiti-file

=== "Syntax"

```bash
--validators-graffiti-file=<FILE>
```

=== "Command Line"

```bash
--validators-graffiti-file=/Users/me/mynode/graffiti.txt
```

=== "Environment Variable"

```bash
TEKU_VALIDATORS_GRAFFITI_FILE=/Users/me/mynode/graffiti.txt
```

=== "Configuration File"

```bash
validators-graffiti-file: "/Users/me/mynode/graffiti.txt"
```

File containing the validator graffiti to add when creating a block. The file contents is
converted to `bytes` and padded to `Bytes32`. The same graffiti is used for all validators started
with this beacon node.

You can overwrite the file while Teku is running to update the graffiti.

This option takes precedence over [`--validators-graffiti`](#validators-graffiti).

### validators-keystore-locking-enabled

=== "Syntax"
Expand Down

0 comments on commit 21e5104

Please sign in to comment.