You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/node-types.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,15 @@ proof of work to [proof of stake consensus](proof-of-stake.md).
20
20
21
21
:::
22
22
23
-
Execution and consensus clients communicate with each other using the [Engine API](https://besu.hyperledger.org/development/public-networks/how-to/use-engine-api).
23
+
Execution and consensus clients communicate with each other using the [Engine API](https://besu.hyperledger.org/public-networks/how-to/use-engine-api).
Execution clients, such as [Besu](https://besu.hyperledger.org/), manage the execution layer, including
30
30
executing transactions and updating the world state. Execution clients serve
31
-
[JSON-RPC API](https://besu.hyperledger.org/development/public-networks/reference/api) requests and
31
+
[JSON-RPC API](https://besu.hyperledger.org/public-networks/reference/api) requests and
32
32
communicate with each other in a peer-to-peer network.
33
33
34
34
### Consensus clients
@@ -42,4 +42,4 @@ clients serve [REST API](../reference/rest.md) requests and communicate with eac
42
42
43
43
To become a validator, you must also run a validator client (either [in the same process as the beacon node](../get-started/start-teku.md#start-the-clients-in-a-single-process) or [separately](../get-started/start-teku.md#run-the-clients-separately)).
Copy file name to clipboardExpand all lines: docs/concepts/proof-of-stake.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ sidebar_position: 3
7
7
# Proof of stake
8
8
9
9
In Ethereum's [proof of stake (PoS)](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/), you
10
-
must run a [full node](node-types.md#execution-and-consensus-clients) and
10
+
must run a [full node](node-types.md) and
11
11
[stake 32 ETH](https://ethereum.org/en/staking/) to become a validator.
12
12
13
13
:::note
@@ -19,11 +19,14 @@ must also run a validator client either [in the same process as the beacon node]
19
19
20
20
The PoS mechanism randomly chooses validators to propose or validate blocks on the [Beacon Chain](https://ethereum.org/en/upgrades/beacon-chain/) in defined time frames.
21
21
22
-
Proposers are responsible for proposing new consensus blocks, and non-proposing validators are responsible for validating (attesting to) proposed blocks. Validators are rewarded for proposing and attesting to consensus blocks eventually included in the Beacon Chain, and penalized for malicious behavior. Validators also receive transaction fees for included blocks.
22
+
Proposers are responsible for proposing new consensus blocks, and non-proposing validators are responsible for validating (attesting to) proposed blocks.
23
+
Validators are rewarded for proposing and attesting to consensus blocks eventually included in the Beacon Chain, and penalized for malicious behavior.
24
+
Validators also receive transaction fees for included blocks.
23
25
24
26
Each consensus block contains an execution payload, which contains a list of transactions and other data required to execute and validate the payload.
25
27
26
-
When a node validates a consensus block, its [consensus client](node-types.md#execution-and-consensus-clients) processes the block and sends the execution payload to the [execution client](node-types.md#execution-and-consensus-clients), which:
28
+
When a node validates a consensus block, its [consensus client](node-types.md#consensus-clients) processes the block
29
+
and sends the execution payload to the [execution client](node-types.md#execution-clients), which:
- An Ethereum address you own as the default fee recipient using the [`--validators-proposer-default-fee-recipient`](../../reference/cli/index.md#validators-proposer-default-fee-recipient) option.
135
-
- The paths to the keystore `.json` file and password `.txt` file created in [step 2](#create-a-password-file-for-each-validator-key) for each validator using the [`--validator-keys`](../../reference/cli/index.md#validator-keys) option.
136
-
Separate the `.json` and `.txt` files with a colon, and separate entries for multiple validators with commas.
137
-
Alternatively, specify paths to directories to load multiple keys and passwords from.
135
+
- The paths to the keystore `.json` file and password `.txt` file created in [step 2](#create-a-password-file-for-each-validator-key)
136
+
for each validator using the [`--validator-keys`](../../reference/cli/index.md#validator-keys) option.
137
+
Separate the `.json` and `.txt` files with a colon, and separate entries for multiple validators with commas.
138
+
Alternatively, specify paths to directories to load multiple keys and passwords from.
138
139
139
140
Also, in the command:
140
141
@@ -158,10 +159,12 @@ teku validator-client \
158
159
159
160
Specify:
160
161
161
-
- The location of one or more beacon node API endpoints using the [`--beacon-node-api-endpoint`](../../reference/cli/subcommands/validator-client.md#beacon-node-api-endpoint-beacon-node-api-endpoints) option.
162
-
- The paths to the keystore `.json` file and password `.txt` file created in [step 2](#create-a-password-file-for-each-validator-key) for each validator using the [`--validator-keys`](../../reference/cli/index.md#validator-keys) option.
163
-
Separate the `.json` and `.txt` files with a colon, and separate entries for multiple validators with commas.
164
-
Alternatively, specify paths to directories to load multiple keys and passwords from.
162
+
- The location of one or more beacon node API endpoints using the
Copy file name to clipboardExpand all lines: docs/get-started/install/run-docker-image.md
+44-7Lines changed: 44 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,27 @@ Display the Teku command line help using the Docker image
23
23
docker run consensys/teku:latest --help
24
24
```
25
25
26
-
You can specify [Teku environment variables](../../reference/cli/index.md#teku-environment-variables) with the docker image instead of the command line options.
26
+
You can specify [Teku environment variables](../../reference/cli/index.md#specify-options) with the docker image instead of the command line options.
27
27
28
28
```bash title="Example using Environment variables and CLI options"
- If running Docker in the background, set [`--log-destination`](../../reference/cli/index.md#log-destination) to `console` to send all logs to the console and appear in Docker's log output.
35
-
- Set [`--data-path`](../../reference/cli/index.md#data-path) to a mount point to ensure Teku data is not lost in the Docker filesystem.
46
+
- Set [`--data-path`](../../reference/cli/index.md#data-base-path-data-path) to a mount point to ensure Teku data is not lost in the Docker filesystem.
36
47
-[Set the Docker user to the UID of the normal user](#allow-multiple-users-to-run-the-docker-image) to ensure read/write access to the required files.
If using a local volume to mount data, ensure the permissions on the directory allow other users and groups to read/write.
43
54
44
-
Use the Docker [`--user`](https://docs.docker.com/engine/reference/commandline/run/) option to run the container for the specified user. Use the UID because the username may not exist inside the docker container.
55
+
Use the Docker [`--user`](https://docs.docker.com/engine/reference/commandline/run/) option to run the container for the specified user.
56
+
Use the UID because the username may not exist inside the docker container.
[Teku's password-protected PKCS12 or JKS keystore and password file]: ../../tutorials/configure-external-signer-tls.md#teku-keystore-and-password-file
82
82
[Web3Signer's password-protected PKCS12 or JKS truststore and password file]: ../../tutorials/configure-external-signer-tls.md#2-create-the-truststore-and-password-file
0 commit comments