prysm-pulse/beacon-chain
kasey 7d9f36985e
Fix initialization race (#12374)
* block all the sync startup code on init signal

* don't need chainStarted if everything blocks

* set empty clock by default to work around panics

* remove unused clock, zero-value for init-sync

---------

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-05-10 04:09:15 +00:00
..
blockchain Replace statefeed Initialize (#12285) 2023-05-03 04:34:01 +00:00
builder reverting version check on bid header (#12376) 2023-05-10 08:45:09 +08:00
cache Unregister validator - fix behind feature flag (#12316) 2023-04-28 21:27:47 +00:00
core Replace statefeed Initialize (#12285) 2023-05-03 04:34:01 +00:00
db Unregister validator - fix behind feature flag (#12316) 2023-04-28 21:27:47 +00:00
deterministic-genesis Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
execution InsertFinalizedDeposits: return an error (#12342) 2023-04-28 20:59:09 +00:00
forkchoice Use same signature for unrealized justified hash and justified hash (#12314) 2023-04-20 15:59:12 +00:00
gateway Enable whitespace linter & fix findings (#12273) 2023-04-18 18:58:27 +00:00
monitor Replace statefeed Initialize (#12285) 2023-05-03 04:34:01 +00:00
node Replace statefeed Initialize (#12285) 2023-05-03 04:34:01 +00:00
operations Enable whitespace linter & fix findings (#12273) 2023-04-18 18:58:27 +00:00
p2p Do Not Panic on Broadcasting Nil Object (#12369) 2023-05-07 05:00:30 +00:00
package Update cross compile toolchains (#12069) 2023-03-07 20:09:46 +00:00
rpc reverting version check on bid header (#12376) 2023-05-10 08:45:09 +08:00
slasher Replace statefeed Initialize (#12285) 2023-05-03 04:34:01 +00:00
startup Replace statefeed Initialize (#12285) 2023-05-03 04:34:01 +00:00
state Avoid double state copy in latestAncestor (#12326) 2023-04-25 14:12:56 +00:00
sync Fix initialization race (#12374) 2023-05-10 04:09:15 +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.