prysm-pulse/beacon-chain/sync/initial-sync
Victor Farazdagi 51796d77f6
Init-sync: backtracking to alternative forks (#7564)
* cherry-pick from previous commits

* use finalized checpoint instead of head slot

* add helpers

* add dedicated error for missing blocks

* add backtracking options to fetcher

* TestBlocksFetcher_alternativeSlotBefore regression test

* update peer block provider test

* update injected deps

* update round robing deps

* update fetcher

* patch status and stream handlers

* test template

* gazelle

* revert BestNonFinalized changes

* extract waitForBandwidth method

* extend test

* remove redundant code

* add flag

* update queue

* update thresholds

* upd inequality

* minor cleanup

* check for mode

* add backtracking queue test

* merge from master

* remove redundant test

* correct logging level

* fix tests

* remove test template

* Nishant's suggestion to parametrize magic number
2020-11-06 15:54:20 +00:00
..
testing libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
blocks_fetcher_peers_test.go Remove redundant error return from filterPeers() (#7730) 2020-11-04 23:29:50 +00:00
blocks_fetcher_peers.go Remove redundant error return from filterPeers() (#7730) 2020-11-04 23:29:50 +00:00
blocks_fetcher_test.go Add one more assertion to fetcher test (#7733) 2020-11-05 19:48:49 +00:00
blocks_fetcher_utils_test.go Init-sync fetcher: backtracking (#7704) 2020-11-05 07:27:46 +00:00
blocks_fetcher_utils.go Init-sync fetcher: backtracking (#7704) 2020-11-05 07:27:46 +00:00
blocks_fetcher.go Init-sync fetcher: backtracking (#7704) 2020-11-05 07:27:46 +00:00
blocks_queue_test.go Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
blocks_queue_utils.go Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
blocks_queue.go Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
BUILD.bazel Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
fsm_benchmark_test.go Applies assertion funcs to sync tests (#6603) 2020-07-15 04:41:11 +00:00
fsm_test.go Update init-sync FSM (#7640) 2020-10-26 05:26:35 +00:00
fsm.go Update init-sync FSM (#7640) 2020-10-26 05:26:35 +00:00
initial_sync_test.go Init-sync fetcher: backtracking (#7704) 2020-11-05 07:27:46 +00:00
log.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
round_robin_test.go Register Subscribers After Node Is Synced (#7468) 2020-10-10 16:50:28 +08:00
round_robin.go Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
service_test.go Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
service.go Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00