lighthouse/book/src
Age Manning 76a2007b64 Improve Lighthouse Connectivity Via ENR TCP Update (#4057)
Currently Lighthouse will remain uncontactable if users port forward a port that is not the same as the one they are listening on. 

For example, if Lighthouse runs with port 9000 TCP/UDP locally but a router is configured to pass 9010 externally to the lighthouse node on 9000, other nodes on the network will not be able to reach the lighthouse node. 

This occurs because Lighthouse does not update its ENR TCP port on external socket discovery. The intention was always that users should use `--enr-tcp-port` to customise this, but this is non-intuitive. 

The difficulty arises because we have no discovery mechanism to find our external TCP port. If we discovery a new external UDP port, we must guess what our external TCP port might be. This PR assumes the external TCP port is the same as the external UDP port (which may not be the case) and thus updates the TCP port along with the UDP port if the `--enr-tcp-port` flag is not set. 

Along with this PR, will be added documentation to the Lighthouse book so users can correctly understand and configure their ENR to maximize Lighthouse's connectivity. 

This relies on https://github.com/sigp/discv5/pull/166 and we should wait for a new release in discv5 before adding this PR.
2023-03-21 05:14:57 +00:00
..
css Make API friendly to block explorers (#702) 2019-12-19 11:45:28 +11:00
imgs Docs for Siren (#4023) 2023-02-28 02:20:52 +00:00
js Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
advanced_database.md Reformat tables and add borders (#3377) 2022-07-27 00:51:07 +00:00
advanced_metrics.md Configurable monitoring endpoint frequency (#3530) 2022-09-05 08:29:00 +00:00
advanced_networking.md Improve Lighthouse Connectivity Via ENR TCP Update (#4057) 2023-03-21 05:14:57 +00:00
advanced-datadir.md Fixing a few typos / documentation (#3531) 2022-09-05 04:50:48 +00:00
advanced-pre-releases.md Fix links in docs (#3219) 2022-05-31 06:09:07 +00:00
advanced-release-candidates.md Use "release candidate" in book (#2920) 2022-01-17 06:09:58 +00:00
advanced.md Document the freezer DB space-time trade-off (#808) 2020-01-20 10:01:58 +11:00
api-bn.md Correct typos book (#3099) 2022-03-20 22:48:15 +00:00
api-lighthouse.md Merge remote-tracking branch 'origin/unstable' into capella-update 2022-12-14 13:00:41 +11:00
api-vc-auth-header.md Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
api-vc-endpoints.md Add API endpoint to get VC graffiti (#3779) 2022-12-09 09:20:13 +00:00
api-vc-sig-header.md Implement VC API (#1657) 2020-10-02 09:42:19 +00:00
api-vc.md Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
api.md Update book with missing Lighthouse endpoints (#3769) 2022-12-09 09:20:10 +00:00
builders.md Enable proposer boost re-orging (#2860) 2022-12-13 09:57:26 +00:00
checkpoint-sync.md Fix docs for oldest_block_slot (#3911) 2023-01-25 02:17:10 +00:00
cli.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
contributing.md [Contribution docs] Add GitPOAP Badge to Display Number of Minted GitPOAPs for Contributors (#3343) 2022-08-09 02:27:04 +00:00
cross-compiling.md Add maxperf build profile (#3608) 2022-09-29 06:13:33 +00:00
database-migrations.md Delete Kiln and Ropsten configs (#4038) 2023-03-01 06:16:14 +00:00
docker.md Update the docker build to include features based images (#3875) 2023-02-08 02:18:51 +00:00
faq.md Improve Lighthouse Connectivity Via ENR TCP Update (#4057) 2023-03-21 05:14:57 +00:00
graffiti.md Update graffiti.md (#3537) 2022-09-05 08:29:02 +00:00
homebrew.md Document Homebrew package (#2885) 2022-01-08 01:15:07 +00:00
http.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
installation-binaries.md More merge doc updates (#3509) 2022-08-26 21:47:50 +00:00
installation-priorities.md Reformat tables and add borders (#3377) 2022-07-27 00:51:07 +00:00
installation-source.md Allow compilation with no slasher backend (#3888) 2023-02-28 02:20:49 +00:00
installation.md More merge doc updates (#3509) 2022-08-26 21:47:50 +00:00
intro.md Add Run a Node guide (#3681) 2022-11-28 10:05:43 +00:00
key-management.md Book spelling and grammar corrections (#3659) 2022-10-28 03:23:50 +00:00
key-recovery.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
late-block-re-orgs.md Enable proposer boost re-orging (#2860) 2022-12-13 09:57:26 +00:00
lighthouse-ui.md Docs for Siren (#4023) 2023-02-28 02:20:52 +00:00
mainnet-validator.md Fix some typos (#3376) 2022-07-27 00:51:06 +00:00
merge-migration.md Fix some dead links in markdown files (#3885) 2023-01-17 05:13:49 +00:00
pi.md Fix broken links in book (#2912) 2022-01-14 00:38:04 +00:00
redundancy.md Update stale sections of the book (#3671) 2022-11-07 06:48:32 +00:00
run_a_node.md Fix some dead links in markdown files (#3885) 2023-01-17 05:13:49 +00:00
setup.md Libp2p v0.48.0 upgrade (#3547) 2022-09-29 01:50:11 +00:00
slasher.md Modularise slasher backend (#3443) 2022-08-15 01:30:56 +00:00
slashing-protection.md Fix some typos (#3376) 2022-07-27 00:51:06 +00:00
suggested-fee-recipient.md remove strict fee recipient docs (#3551) 2022-09-08 00:06:25 +00:00
SUMMARY.md Docs for Siren (#4023) 2023-02-28 02:20:52 +00:00
system-requirements.md Document system requirements (#1934) 2020-11-19 21:23:56 +00:00
testnet-validator.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
ui-configuration.md Docs for Siren (#4023) 2023-02-28 02:20:52 +00:00
ui-faqs.md Siren Ui Lighthouse Version Requirments (#4093) 2023-03-16 08:03:43 +00:00
ui-installation.md Siren Ui Lighthouse Version Requirments (#4093) 2023-03-16 08:03:43 +00:00
ui-usage.md Docs for Siren (#4023) 2023-02-28 02:20:52 +00:00
validator-create.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-doppelganger.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-import-launchpad.md Fix some typos (#3376) 2022-07-27 00:51:06 +00:00
validator-inclusion.md Remove participation rate from API docs (#3955) 2023-02-09 04:31:22 +00:00
validator-management.md Change --testnet flag to --network (#1751) 2020-11-23 23:54:03 +00:00
validator-monitoring.md Configurable monitoring endpoint frequency (#3530) 2022-09-05 08:29:00 +00:00
validator-web3signer.md Add client authentication to Web3Signer validators (#3170) 2022-05-18 23:14:37 +00:00
voluntary-exit.md docs: remove mention of phases in voluntary exits (#3776) 2022-12-20 01:34:51 +00:00
wallet-create.md Book spelling and grammar corrections (#3659) 2022-10-28 03:23:50 +00:00