prysm-pulse/beacon-chain
terencechain b7a82d0fd1
Can retrieve cached initial sync block and db block (#10568)
* Save cached initial sync blocks before getting head block

* Add better abstraction to get block

* Move unlock read to a better location

* Feedbacks

* Add head changed logging

* Harder hasBlock requirement

* Update beacon-chain/blockchain/service.go

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

* Update receive_attestation.go

* Don't process head if the block is unknown

* Use a helper method

* Fix test

Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-04-29 07:56:31 +00:00
..
blockchain Can retrieve cached initial sync block and db block (#10568) 2022-04-29 07:56:31 +00:00
cache Graduate Active Balance Cache Feature (#10550) 2022-04-21 02:59:52 +00:00
core Move validate merge transition block outside of notify new payload (#10526) 2022-04-23 08:11:15 +00:00
db gocognit: Lower complexity threshold to 100, fix a few complexity issues (#10542) 2022-04-19 07:12:24 +00:00
deterministic-genesis Replace ioutil with io and os (#10541) 2022-04-18 20:42:07 +00:00
forkchoice Metrics tracking EE VALID/SYNCING/INVALID response counter (#10504) 2022-04-12 09:51:13 +00:00
gateway Register v1alpha2 endpoints in the gateway (#9768) 2021-10-12 15:13:52 +00:00
monitor Service constructors and Start() - better separation of concerns (#10532) 2022-04-16 02:45:35 +00:00
node Use the T.TempDir and B.TempDir to create temp dirs for testing (#10560) 2022-04-21 20:45:44 +00:00
operations Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
p2p Add lock to PeerStatusScorer.SetHeadSlot (#10558) 2022-04-21 15:02:20 +00:00
package Move Miscellaneous Shared/ Packages Into Semantic Groups (#9624) 2021-09-17 19:20:50 +00:00
powchain Cleanup Discarded Connections Correctly (#10574) 2022-04-28 13:09:03 +00:00
rpc Code cleanup in blockchain module (#10566) 2022-04-28 11:34:25 +00:00
server API Middleware for Keymanager Standard API Endpoints (#9936) 2021-12-07 20:26:21 +00:00
slasher Replace ioutil with io and os (#10541) 2022-04-18 20:42:07 +00:00
state Graduate Balance Trie Feature (#10552) 2022-04-25 11:16:41 +02:00
sync Code cleanup in blockchain module (#10566) 2022-04-28 11:34:25 +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.