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 |
|