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
If you are building a docker image, the process will be similar to the one described [here.](./docker.md#building-the-docker-image)
361
362
You just need to make sure the code you have checked out is up to date.
362
363
363
-
### <aname="net-port"></a> Do I need to set up any port mappings (port forwarding)?
364
+
### <aname="net-port-forwarding"></a> Do I need to set up any port mappings (port forwarding)?
364
365
365
366
It is not strictly required to open any ports for Lighthouse to connect and
366
367
participate in the network. Lighthouse should work out-of-the-box. However, if
@@ -386,7 +387,7 @@ For these reasons, we recommend that you make your node publicly accessible.
386
387
387
388
Lighthouse supports UPnP. If you are behind a NAT with a router that supports
388
389
UPnP, you can simply ensure UPnP is enabled (Lighthouse will inform you in its
389
-
initial logs if a route has been established). You can also manually [set up port mappings/port forwarding](./advanced_networking.md/#how-to-open-ports) in your router to your local Lighthouse instance. By default,
390
+
initial logs if a route has been established). You can also manually [set up port mappings/port forwarding](./advanced_networking.md#how-to-open-ports) in your router to your local Lighthouse instance. By default,
390
391
Lighthouse uses port 9000 for both TCP and UDP. Opening both these ports will
391
392
make your Lighthouse node maximally contactable.
392
393
@@ -421,6 +422,9 @@ The settings are as follows:
421
422
### <aname="net-ip"></a> Should I do anything to the beacon node or validator client settings if I have a relocation of the node / change of IP address?
422
423
No. Lighthouse will auto-detect the change and update your Ethereum Node Record (ENR). You just need to make sure you are not manually setting the ENR with `--enr-address` (which, for common use cases, this flag is not used).
423
424
425
+
### <aname="net-port"></a> How to change the TCP/UDP port 9000 that Lighthouse listens on?
426
+
Use the flag ```--port <PORT>``` in the beacon node. This flag can be useful when you are running two beacon nodes at the same time. You can leave one beacon node as the default port 9000, and configure the second beacon node to listen on, e.g., ```--port 9001```.
427
+
424
428
## Miscellaneous
425
429
426
430
### <aname="misc-slashing"></a> What should I do if I lose my slashing protection database?
Copy file name to clipboardExpand all lines: book/src/validator-doppelganger.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,13 +43,12 @@ DP works by staying silent on the network for 2-3 epochs before starting to sign
43
43
Staying silent and refusing to sign messages will cause the following:
44
44
45
45
- 2-3 missed attestations, incurring penalties and missed rewards.
46
-
- 2-3 epochs of missed sync committee contributions (if the validator is in a sync committee, which is unlikely), incurring penalties and missed rewards.
47
46
- Potentially missed rewards by missing a block proposal (if the validator is an elected block
48
47
proposer, which is unlikely).
49
48
50
49
The loss of rewards and penalties incurred due to the missed duties will be very small in
51
-
dollar-values. Generally, they will equate to around one US dollar (at August 2021 figures) or about
52
-
2% of the reward for one validator for one day. Since DP costs so little but can protect a user from
50
+
dollar-values. Neglecting block proposals, generally they will equate to around 0.00002 ETH (equivalent to USD 0.04 assuming ETH is trading at USD 2000), or less than
51
+
1% of the reward for one validator for one day. Since DP costs so little but can protect a user from
53
52
slashing, many users will consider this a worthwhile trade-off.
54
53
55
54
The 2-3 epochs of missed duties will be incurred whenever the VC is started (e.g., after an update
0 commit comments