prysm-pulse/beacon-chain
Fabrice Cheng 28e61fa40c
Verify External IP is reachable or log a warning if not (#6155)
* Only build with cgosymbolizer when explicitly desired. This fixes go builds for mac and others

* Try to dial external IP set and display a warning message is not reachable

* fix dialTimeout adding the port

* add connectivity check for UDP as well

* add connectivy verification for both UDP and TCP and move function in p2p/utils.go

* return if Resolving UDP fails

* move constant in utils

* add missing time dependencies

* leverage dial for both TCP/UDP (even thoguh UDP is not supported & add a unit tests for `verifyConnectivity`

* handle err from conn.Close()

* add utils_test go p2p gazelle

* Update beacon-chain/p2p/utils.go

Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>

* Update beacon-chain/p2p/utils.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/p2p/utils.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* do not defer closing the connection

* leverage util helper testutil.AssertLogsContain and testutil.AssertLogsDoNotContain

* remove old code

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
2020-06-10 18:41:11 -05:00
..
archiver libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
blockchain Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
cache Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
core Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
db Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
flags Add Host Flags for All Servers running in Prysm (#6202) 2020-06-10 16:04:32 +00:00
forkchoice Add debug proto array fork choice endpoint (#6003) 2020-05-26 23:24:38 +00:00
gateway Add Host Flags for All Servers running in Prysm (#6202) 2020-06-10 16:04:32 +00:00
interop-cold-start Use FastSSZ Everywhere Applicable (#6135) 2020-06-05 13:48:40 +00:00
node Add Host Flags for All Servers running in Prysm (#6202) 2020-06-10 16:04:32 +00:00
operations Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
p2p Verify External IP is reachable or log a warning if not (#6155) 2020-06-10 18:41:11 -05:00
powchain Add block number to deposit log (#6200) 2020-06-10 14:31:58 +00:00
rpc Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
state Use SSZ HTR as baseline (#6207) 2020-06-10 17:51:06 +00:00
sync Send blocks that fail p2p validation to slasher (#6164) 2020-06-10 13:24:05 -04:00
BUILD.bazel Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
main.go Add Host Flags for All Servers running in Prysm (#6202) 2020-06-10 16:04:32 +00:00
README.md Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
usage_test.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
usage.go Add Host Flags for All Servers running in Prysm (#6202) 2020-06-10 16:04:32 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum Serenity in Golang by Prysmatic Labs. Before you begin, check out our Contribution Guidelines and join our active chat room on Discord or Gitter below:

Discord Gitter

Also, read the latest beacon chain design spec, this design spec serves as a source of truth for the beacon chain implementation we follow at prysmatic labs. Check out the FAQs. Refer this page on why we are combining sharding and casper together.