prysm-pulse/beacon-chain
Potuz 4020a603b6
Invalid synced tips (#10154)
* add synced_tips structure

* create optimisticStore type

* Add UpdateSyncedTips

* use context

* update comment

* use better context cancellation

* reinsert removed error from different PR

* Minor clean ups

* remove invalid nodes from forkchoice

* Update beacon-chain/forkchoice/protoarray/optimistic_sync.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Add check for tip status

* Terence's minor cleanups

* Potus' feedbacks

* Update optimistic_sync.go

* Add erorr

* Synced

* update weights

* Add context error check

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-03 22:57:15 +00:00
..
blockchain Add IsOptimistic chain info getter (#10184) 2022-02-03 21:30:07 +00:00
cache Merge State Cleanup (#10011) 2022-02-02 17:51:24 +00:00
core Make Next Slot Cache Default (#10110) 2022-02-02 11:40:46 +00:00
db Storing synced tips in DB (#10136) 2022-02-01 16:17:28 +00:00
deterministic-genesis Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
forkchoice Invalid synced tips (#10154) 2022-02-03 22:57:15 +00:00
gateway Register v1alpha2 endpoints in the gateway (#9768) 2021-10-12 15:13:52 +00:00
monitor Minor cleanups on monitor service (#10013) 2021-12-15 20:42:20 +00:00
node Remove merge setting cli flags (#10162) 2022-02-02 15:33:48 +00:00
operations Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
p2p Multiclient E2E With Lighthouse (#10020) 2022-02-02 19:13:52 +00:00
package Move Miscellaneous Shared/ Packages Into Semantic Groups (#9624) 2021-09-17 19:20:50 +00:00
powchain Engine API Client Skeleton and Configuration (#10177) 2022-02-02 19:46:27 -08:00
rpc Make Next Slot Cache Default (#10110) 2022-02-02 11:40:46 +00:00
server API Middleware for Keymanager Standard API Endpoints (#9936) 2021-12-07 20:26:21 +00:00
slasher Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
state Merge State Cleanup (#10011) 2022-02-02 17:51:24 +00:00
sync Make Next Slot Cache Default (#10110) 2022-02-02 11:40:46 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.