prysm-pulse/beacon-chain
Mohamed Zahoor e953804239
Process future Blocks and Attestations (#8975)
* queue future blocks

* process early attestations

* fix formatting

* fix testcases

* fix signature testcase and move verify slot time to original place

* Add testcases to test early blocks and slot processing

* added test case to cover failure case while inserting in block pending queue

* satisfy deepsource

* fix review comments

* remove invalid testcase

* do not queue blocks which are within MAXIMUM_GOSSIP_CLOCK_DISPARITY

* format fix

* added a helper to check of the block slot is within MAXIMUM_GOSSIP_CLOCK_DISPARITY

* add helper to check clock disparity and test case for the same

* deepsource fix

* satisfy deepsoruce

* sysc/service.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-17 00:17:52 +00:00
..
blockchain Rename field ops service to att service (#9046) 2021-06-16 21:48:56 +00:00
cache Change To LRU from FIFO Cache (#8996) 2021-06-10 21:53:34 +00:00
core Process future Blocks and Attestations (#8975) 2021-06-17 00:17:52 +00:00
db Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
forkchoice Move chainheads to blockchain pkg (#8700) 2021-04-03 11:25:25 +00:00
interop-cold-start Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
node Rename field ops service to att service (#9046) 2021-06-16 21:48:56 +00:00
operations Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
p2p Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
package Feature/debian packages (#8872) 2021-06-01 15:44:24 +00:00
powchain fixes 9029 + a few related client-stats fixes/improvements (#9039) 2021-06-14 23:59:15 +00:00
rpc Process future Blocks and Attestations (#8975) 2021-06-17 00:17:52 +00:00
server [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
slasher/types Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
state Create ValidatorIndexOutOfRangeError (#9035) 2021-06-14 16:38:48 +00:00
sync Process future Blocks and Attestations (#8975) 2021-06-17 00:17:52 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of eth2 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.