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: book/src/advanced_networking.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ The steps to do port forwarding depends on the router, but the general steps are
68
68
1. Determine the default gateway IP:
69
69
70
70
- On Linux: open a terminal and run `ip route | grep default`, the result should look something similar to `default via 192.168.50.1 dev wlp2s0 proto dhcp metric 600`. The `192.168.50.1` is your router management default gateway IP.
71
-
- On MacOS: open a terminal and run `netstat -nr|grep default` and it should return the default gateway IP.
71
+
- On macOS: open a terminal and run `netstat -nr|grep default` and it should return the default gateway IP.
72
72
- On Windows: open a command prompt and run `ipconfig` and look for the `Default Gateway` which will show you the gateway IP.
73
73
74
74
The default gateway IP usually looks like 192.168.X.X. Once you obtain the IP, enter it to a web browser and it will lead you to the router management page.
@@ -91,7 +91,7 @@ The steps to do port forwarding depends on the router, but the general steps are
91
91
- Internal port: `9001`
92
92
- IP address: Choose the device that is running Lighthouse.
93
93
94
-
1. To check that you have successfully opened the ports, go to [yougetsignal](https://www.yougetsignal.com/tools/open-ports/) and enter `9000` in the `port number`. If it shows "open", then you have successfully set up port forwarding. If it shows "closed", double check your settings, and also check that you have allowed firewall rules on port 9000. Note: this will only confirm if port 9000/TCP is open. You will need to ensure you have correctly setup port forwarding for the UDP ports (`9000` and `9001` by default).
94
+
1. To check that you have successfully opened the ports, go to [`yougetsignal`](https://www.yougetsignal.com/tools/open-ports/) and enter `9000` in the `port number`. If it shows "open", then you have successfully set up port forwarding. If it shows "closed", double check your settings, and also check that you have allowed firewall rules on port 9000. Note: this will only confirm if port 9000/TCP is open. You will need to ensure you have correctly setup port forwarding for the UDP ports (`9000` and `9001` by default).
95
95
96
96
## ENR Configuration
97
97
@@ -141,7 +141,7 @@ To listen over both IPv4 and IPv6:
141
141
- Set two listening addresses using the `--listen-address` flag twice ensuring
142
142
the two addresses are one IPv4, and the other IPv6. When doing so, the
143
143
`--port` and `--discovery-port` flags will apply exclusively to IPv4. Note
144
-
that this behaviour differs from the Ipv6 only case described above.
144
+
that this behaviour differs from the IPv6 only case described above.
145
145
- If necessary, set the `--port6` flag to configure the port used for TCP and
146
146
UDP over IPv6. This flag has no effect when listening over IPv6 only.
147
147
- If necessary, set the `--discovery-port6` flag to configure the IPv6 UDP
Copy file name to clipboardExpand all lines: book/src/faq.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ If the reason for the error message is caused by no. 1 above, you may want to lo
92
92
93
93
- Power outage. If power outages are an issue at your place, consider getting a UPS to avoid ungraceful shutdown of services.
94
94
- The service file is not stopped properly. To overcome this, make sure that the process is stopped properly, e.g., during client updates.
95
-
- Out of memory (oom) error. This can happen when the system memory usage has reached its maximum and causes the execution engine to be killed. To confirm that the error is due to oom, run `sudo dmesg -T | grep killed` to look for killed processes. If you are using geth as the execution client, a short term solution is to reduce the resources used. For example, you can reduce the cache by adding the flag `--cache 2048`. If the oom occurs rather frequently, a long term solution is to increase the memory capacity of the computer.
95
+
- Out of memory (oom) error. This can happen when the system memory usage has reached its maximum and causes the execution engine to be killed. To confirm that the error is due to oom, run `sudo dmesg -T | grep killed` to look for killed processes. If you are using Geth as the execution client, a short term solution is to reduce the resources used. For example, you can reduce the cache by adding the flag `--cache 2048`. If the oom occurs rather frequently, a long term solution is to increase the memory capacity of the computer.
96
96
97
97
### <aname="bn-upcheck"></a> I see beacon logs showing `Error during execution engine upcheck`, what should I do?
98
98
@@ -302,7 +302,7 @@ An example of the log: (debug logs can be found under `$datadir/beacon/logs`):
The field to look for is `attestable_delay`, which defines the time when a block is ready for the validator to attest. If the `attestable_delay` is greater than 4s which has past the window of attestation, the attestation wil fail. In the above example, the delay is mostly caused by late block observed by the node, as shown in `observed_delay`. The `observed_delay` is determined mostly by the proposer and partly by your networking setup (e.g., how long it took for the node to receive the block). Ideally, `observed_delay` should be less than 3 seconds. In this example, the validator failed to attest the block due to the block arriving late.
305
+
The field to look for is `attestable_delay`, which defines the time when a block is ready for the validator to attest. If the `attestable_delay` is greater than 4s which has past the window of attestation, the attestation will fail. In the above example, the delay is mostly caused by late block observed by the node, as shown in `observed_delay`. The `observed_delay` is determined mostly by the proposer and partly by your networking setup (e.g., how long it took for the node to receive the block). Ideally, `observed_delay` should be less than 3 seconds. In this example, the validator failed to attest the block due to the block arriving late.
306
306
307
307
Another example of log:
308
308
@@ -315,7 +315,7 @@ In this example, we see that the `execution_time_ms` is 4694ms. The `execution_t
315
315
316
316
### <aname="vc-head-vote"></a> Sometimes I miss the attestation head vote, resulting in penalty. Is this normal?
317
317
318
-
In general, it is unavoidable to have some penalties occasionally. This is particularly the case when you are assigned to attest on the first slot of an epoch and if the proposer of that slot releases the block late, then you will get penalised for missing the target and head votes. Your attestation performance does not only depend on your own setup, but also on everyone elses performance.
318
+
In general, it is unavoidable to have some penalties occasionally. This is particularly the case when you are assigned to attest on the first slot of an epoch and if the proposer of that slot releases the block late, then you will get penalised for missing the target and head votes. Your attestation performance does not only depend on your own setup, but also on everyone else's performance.
319
319
320
320
You could also check for the sync aggregate participation percentage on block explorers such as [beaconcha.in](https://beaconcha.in/). A low sync aggregate participation percentage (e.g., 60-70%) indicates that the block that you are assigned to attest to may be published late. As a result, your validator fails to correctly attest to the block.
Copy file name to clipboardExpand all lines: book/src/graffiti.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Lighthouse provides four options for setting validator graffiti.
4
4
5
5
## 1. Using the "--graffiti-file" flag on the validator client
6
6
7
-
Users can specify a file with the `--graffiti-file` flag. This option is useful for dynamically changing graffitis for various use cases (e.g. drawing on the beaconcha.in graffiti wall). This file is loaded once on startup and reloaded everytime a validator is chosen to propose a block.
7
+
Users can specify a file with the `--graffiti-file` flag. This option is useful for dynamically changing graffitis for various use cases (e.g. drawing on the beaconcha.in graffiti wall). This file is loaded once on startup and reloaded every time a validator is chosen to propose a block.
Copy file name to clipboardExpand all lines: book/src/late-block-re-orgs.md
+13-6
Original file line number
Diff line number
Diff line change
@@ -46,24 +46,31 @@ You can track the reasons for re-orgs being attempted (or not) via Lighthouse's
46
46
47
47
A pair of messages at `INFO` level will be logged if a re-org opportunity is detected:
48
48
49
-
> INFO Attempting re-org due to weak head threshold_weight: 45455983852725, head_weight: 0, parent: 0x09d953b69041f280758400c671130d174113bbf57c2d26553a77fb514cad4890, weak_head: 0xf64f8e5ed617dc18c1e759dab5d008369767c3678416dac2fe1d389562842b49
50
-
51
-
> INFO Proposing block to re-org current head head_to_reorg: 0xf64f…2b49, slot: 1105320
49
+
```text
50
+
INFO Attempting re-org due to weak head threshold_weight: 45455983852725, head_weight: 0, parent: 0x09d953b69041f280758400c671130d174113bbf57c2d26553a77fb514cad4890, weak_head: 0xf64f8e5ed617dc18c1e759dab5d008369767c3678416dac2fe1d389562842b49
51
+
INFO Proposing block to re-org current head head_to_reorg: 0xf64f…2b49, slot: 1105320
52
+
```
52
53
53
54
This should be followed shortly after by a `INFO` log indicating that a re-org occurred. This is
Copy file name to clipboardExpand all lines: book/src/ui-faqs.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Yes, the most current Siren version requires Lighthouse v4.3.0 or higher to func
6
6
7
7
## 2. Where can I find my API token?
8
8
9
-
The required Api token may be found in the default data directory of the validator client. For more information please refer to the lighthouse ui configuration [`api token section`](./api-vc-auth-header.md).
9
+
The required API token may be found in the default data directory of the validator client. For more information please refer to the lighthouse ui configuration [`api token section`](./api-vc-auth-header.md).
Copy file name to clipboardExpand all lines: book/src/ui-installation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# 📦 Installation
2
2
3
-
Siren supports any operating system that supports container runtimes and/or NodeJS 18, this includes Linux, MacOS, and Windows. The recommended way of running Siren is by launching the [docker container](https://hub.docker.com/r/sigp/siren) , but running the application directly is also possible.
3
+
Siren supports any operating system that supports containers and/or NodeJS 18, this includes Linux, macOS, and Windows. The recommended way of running Siren is by launching the [docker container](https://hub.docker.com/r/sigp/siren) , but running the application directly is also possible.
A grafana dashboard to view the metrics for attestation simulator is available [here](https://github.com/sigp/lighthouse-metrics/blob/master/dashboards/AttestationSimulator.json).
137
+
A Grafana dashboard to view the metrics for attestation simulator is available [here](https://github.com/sigp/lighthouse-metrics/blob/master/dashboards/AttestationSimulator.json).
138
138
139
139
The attestation simulator provides an insight into the attestation performance of a beacon node. It can be used as an indication of how expediently the beacon node has completed importing blocks within the 4s time frame for an attestation to be made.
0 commit comments