prysm-pulse/beacon-chain/forkchoice/protoarray
terence tsao 8a01d412f5
Implement fork choice spec tests (#10159)
* starting

* Reimplement store

* begin on proposer boost

* implement fork choice proposer boost algorithm

* boosting

* gaz

* add mutexes and previous root

* comment on compute proposer boost

* safe

* rem todo

* reset and add tests

* unit test for proposer boost score

* boost works

* Can process block

* Basic test case passing

* ex ante

* test

* propoer test

* More progresses

* More fixes

* rm unused pieces

* Refactor, add phase 0

* locks

* vanilla ex-ante attack

* test similar to spec test

* works works works

* boost test working for num votes > proposer boost weight

* commentary fixes

* rem unused

* comments

* Proposer boost use store time

* Reset proposer root

* debugging

* passing

* Rm unused visibility imports

* Move update head to better place

* Fix deepsrc complains

* Fix more complains

* Raul's feedback

* Use correct byte lengths

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-01-31 19:03:48 +00:00
..
BUILD.bazel Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
doc.go All Beacon Node Package-Level Godocs (#5677) 2020-04-29 12:40:33 -05:00
errors.go Update synced tips (#10129) 2022-01-31 15:05:05 +00:00
ffg_update_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
helpers_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
helpers.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
metrics.go Integrate proto array forkchoice to run time (#4649) 2020-01-25 14:22:25 -06:00
no_vote_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
node_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
node.go ETH2 Types: Slot (#8408) 2021-02-16 07:45:34 +00:00
optimistic_sync_test.go Update synced tips (#10129) 2022-01-31 15:05:05 +00:00
optimistic_sync.go Update synced tips (#10129) 2022-01-31 15:05:05 +00:00
proposer_boost_test.go Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
proposer_boost.go Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
store_test.go Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
store.go Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
types.go Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
vote_test.go Fix Fork Choice prunning (#10137) 2022-01-27 19:17:19 +00:00