prysm-pulse/beacon-chain
Preston Van Loon 5345ddf686 Initial Sync: Round robin (#3538)
* first pass, step 1 works

* naive from finalized to head

* delete commented code

* checkpoint progress on tests

* passing test

* abstract code slightly

* failure cases

* chkpt

* mostly working, missing a single block and having timeout

* passing tests

* comments

* comments

* gaz

* clarify comments

* progress on a few new cases

* add back bootnode query tool

* bootstrap from DHT

* chunked responses in round robin

* fix tests and deadlines

* add basic counter, time estimation

* hello -> handshakes

* show peers in use during sync

* just one last test failure

* only request blocks starting in the finalized epoch for step 1

* revert that

* comment out test and add better commentary

* move requestBlocks out to pointer receiver

* mathutil

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

Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>

* PR feedback

* PR feedback
2019-09-25 12:00:04 -05:00
..
archiver Do Not Archive Active Indices (#3573) 2019-09-25 17:18:37 +08:00
blockchain Initial Sync: Round robin (#3538) 2019-09-25 12:00:04 -05:00
cache Resolve Miscellaneous Prysm TODOs (#3465) 2019-09-16 15:45:03 -05:00
core Fixes our Attestation Aggregation Issues (#3579) 2019-09-25 07:39:16 -07:00
db Do Not Archive Active Indices (#3573) 2019-09-25 17:18:37 +08:00
flags Archiver Service Definition (#3507) 2019-09-18 09:30:02 -05:00
gateway Remove beacon rpc service (#3515) 2019-09-18 06:34:50 -07:00
interop-cold-start fix panic (#3448) 2019-09-12 14:18:41 +05:30
node Add Back Kademlia DHT to Prysm (#3557) 2019-09-23 10:24:16 -07:00
operations Fixes our Attestation Aggregation Issues (#3579) 2019-09-25 07:39:16 -07:00
p2p Initial Sync: Round robin (#3538) 2019-09-25 12:00:04 -05:00
powchain Abstract Usage of Deposit Cache Into Interface (#3443) 2019-09-11 23:30:04 -05:00
rpc Fixes our Attestation Aggregation Issues (#3579) 2019-09-25 07:39:16 -07:00
sync Initial Sync: Round robin (#3538) 2019-09-25 12:00:04 -05:00
BUILD.bazel Cold start for interop (#3437) 2019-09-11 13:38:35 -05:00
main.go Archiver Service Definition (#3507) 2019-09-18 09:30:02 -05:00
README.md update beacon chain spec link (#1897) 2019-03-05 18:54:58 -05:00
usage_test.go Add a gRPC gateway (#2604) 2019-06-02 08:33:44 -07:00
usage.go Archiver Service Definition (#3507) 2019-09-18 09:30:02 -05:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum Serenity in Golang by Prysmatic Labs. Before you begin, check out our Contribution Guidelines and join our active chat room on Discord or Gitter below:

Discord Gitter

Also, read the latest beacon chain design spec, this design spec serves as a source of truth for the beacon chain implementation we follow at prysmatic labs. Check out the FAQs. Refer this page on why we are combining sharding and casper together.