prysm-pulse/beacon-chain/sync/initial-sync
Victor Farazdagi f18bada8c9
Init sync blocks queue (#5064)
* fixes data race, by isolating critical sections

* minor refactoring: resolves blocking calls

* implements init-sync queue

* udpate fetch/send buffers in blocks fetcher

* blockState enum-like type alias

* refactors common code into releaseTicket()

* better gc

* linter

* Update beacon-chain/sync/initial-sync/blocks_queue.go

Co-Authored-By: shayzluf <thezluf@gmail.com>

* Update beacon-chain/sync/initial-sync/blocks_queue_test.go

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: shayzluf <thezluf@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-03-16 18:21:36 +03:00
..
testing Add Ability to Resync Node (#4279) 2020-01-02 16:09:28 +08:00
blocks_fetcher_test.go Init sync pre queue (#5098) 2020-03-14 13:21:07 -05:00
blocks_fetcher.go Init sync blocks queue (#5064) 2020-03-16 18:21:36 +03:00
blocks_queue_test.go Init sync blocks queue (#5064) 2020-03-16 18:21:36 +03:00
blocks_queue.go Init sync blocks queue (#5064) 2020-03-16 18:21:36 +03:00
BUILD.bazel Init sync blocks queue (#5064) 2020-03-16 18:21:36 +03:00
log.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
round_robin_test.go Init sync pre queue (#5098) 2020-03-14 13:21:07 -05:00
round_robin.go Stream Indexed Attestations RPC Implementation (#4941) 2020-02-26 20:14:22 +00:00
service.go Add Unsafe Sync (#4906) 2020-02-19 00:25:07 -08:00