prysm-pulse/beacon-chain/forkchoice
Potuz 0a87210514
Forkchoice external locks v2 (#12036)
* write locks

* fix forkchoice tests

* blockchain locks

* lock on IsOptimistic

* use forkchoice instead of chaininfo within savehead

* Use forkchoice HasNode to check if a block is consistent with finality

* interface fix

* Use forkchoice HasNode to check if a block is consistent with finality

* interface fix

* fix tests

* remove VerifyFinalizedBlkDescendant

* don't write lock wrappers

* fix validateBeaconBlock

* Terence's review and more missing locks

* add lock for InForkChoice

* lock head on fillMissingBlockPayload

* fix lock on IsOptimisticForRoot

* fix lock in fillMissingBlockPayloadId

* extra comments

* lock proposerBoost on spectests

* nishant's review

---------

Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-03-02 09:10:52 -03:00
..
doubly-linked-tree Forkchoice external locks v2 (#12036) 2023-03-02 09:10:52 -03:00
types Rename block interfaces (#11975) 2023-02-09 10:23:32 +01:00
BUILD.bazel Move forkchoice dump to eth namespace (#11325) 2022-08-26 14:54:32 +00:00
doc.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
error.go Reinsert reorg atts (#10767) 2022-05-29 19:32:42 +00:00
interfaces.go Forkchoice external locks v2 (#12036) 2023-03-02 09:10:52 -03:00