prysm-pulse/beacon-chain/forkchoice/protoarray
Potuz 83a83279d4
Remove synced tips and use last valid hash (#10439)
* Remove synced tips

use last valid hash in removing invalid nodes.

* add test

* Remove unused code

* More unused parameters

* Fix proposer boost

* terence's review #1

* Fix conflicts

* terence's review 2

* rename argument

* terence's review #3

* rename optimistic -> status

* Minor clean up

* revert loop variable change

* do not mark lvh as valid

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-04-06 14:18:30 +00:00
..
BUILD.bazel Deterministic Proposer Root Boosting in Forkchoice (#10427) 2022-03-28 21:34:41 +00:00
doc.go Clean up fork choice (#10226) 2022-02-12 03:33:46 +00:00
errors.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
ffg_update_test.go Insert payload hash to forkchoice store nodes (#10400) 2022-03-22 01:20:42 +00:00
helpers_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
helpers.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
metrics.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
no_vote_test.go Insert payload hash to forkchoice store nodes (#10400) 2022-03-22 01:20:42 +00:00
node_test.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
node.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
optimistic_sync_test.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
optimistic_sync.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
proposer_boost_test.go Deterministic Proposer Root Boosting in Forkchoice (#10427) 2022-03-28 21:34:41 +00:00
proposer_boost.go Deterministic Proposer Root Boosting in Forkchoice (#10427) 2022-03-28 21:34:41 +00:00
store_test.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
store.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
types.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00
vote_test.go Remove synced tips and use last valid hash (#10439) 2022-04-06 14:18:30 +00:00