prysm-pulse/beacon-chain/rpc
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
..
apimiddleware [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
beacon RPC: Surface underlying error when failing to return a state. (#9024) 2021-06-11 13:50:02 +00:00
beaconv1 [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
debug Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
debugv1 [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
eventsv1 Add Events Streaming Endpoint for Eth2 Standard API (#9001) 2021-06-14 16:58:08 +00:00
node Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
nodev1 [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
statefetcher [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
testutil [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00
validator Process future Blocks and Attestations (#8975) 2021-06-17 00:17:52 +00:00
BUILD.bazel Add Events Streaming Endpoint for Eth2 Standard API (#9001) 2021-06-14 16:58:08 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
service_test.go Embed Config Pattern For Attestation, POW Chain, and RPC Services (#8635) 2021-03-21 16:58:41 +00:00
service.go [Feature] - API Middleware (#8926) 2021-06-15 10:28:49 -05:00