prysm-pulse/beacon-chain/forkchoice/protoarray
Potuz f0fd29d367
Is optimistic (#10124)
* add synced_tips structure

* create optimisticStore type

* Add ForkChoice.Optimistic()

Adds the logic implementing whether a synced block is optimistic or not.

* Terence's bug catch

* Reinforce warning

* Preston's review

* add comment on optimistic sync
2022-01-26 01:42:18 +00:00
..
BUILD.bazel Is optimistic (#10124) 2022-01-26 01:42:18 +00:00
doc.go All Beacon Node Package-Level Godocs (#5677) 2020-04-29 12:40:33 -05:00
errors.go Part 8 of proto array fork choice - prune (#4642) 2020-01-24 15:51:11 +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 Is optimistic (#10124) 2022-01-26 01:42:18 +00:00
optimistic_sync.go Is optimistic (#10124) 2022-01-26 01:42:18 +00:00
store_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
store.go Is optimistic (#10124) 2022-01-26 01:42:18 +00:00
types.go Is optimistic (#10124) 2022-01-26 01:42:18 +00:00
vote_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00