prysm-pulse/beacon-chain
Raul Jordan eb900a8193
Refactor Initial Sync, Enable Catching Up to Chain (#2111)
* refactor initial sync to prevent reorg infinite loops

* lint

* fixed build

* passing tests

* tests passing

* terence suggestion

* new attempt

* clean up and refactor sync service

* complete the new initial sync logic

* revert head

* init sync working

* config for blockchain receive block

* all works

* builds

* fix a few more tests

* init sync tests pass

* revert scripts

* revert accounts changes

* lint

* lint2

* travis lint

* fix build

* fix single use argument

* any peer

* imports spacing

* imports

* ready for a rolling restart

* add todo

* fork choice in blocks when exiting sync

* readd finalized state root to requests

* successful build

* revert blockchain config

* old config reversion

* initial sync tests pass

* initial sync full test works

* lint

* use the new block processing api

* new proto defs

* init sync functions again

* remove sync polling

* tests fixed

* fixed catching up with chain

* tests pass

* spacing

* lint

* goimports

* add changes

* add lock and conditional to prevent multiple goroutines

* make reg sync synchronous

* add

* fixed the parent block issue

* fix errors in chain service

* tests pass

* check nil block

* typo

* fix nil state

* merge & conflicts

* revert synchronus reg sync

* add more spans to state db

* fix lint

* lint
2019-04-03 10:13:19 -05:00
..
attestation Remove unused service fields (#2139) 2019-04-03 07:59:18 -07:00
blockchain Refactor Initial Sync, Enable Catching Up to Chain (#2111) 2019-04-03 10:13:19 -05:00
chaintest Refactor Chain Service Block Processing API (#2124) 2019-03-31 20:44:16 -05:00
core Reduce State Size (#2144) 2019-04-03 02:04:51 +08:00
db Refactor Initial Sync, Enable Catching Up to Chain (#2111) 2019-04-03 10:13:19 -05:00
internal Revert "Treat Post & Pre-ChainStart Validators Equally in Assignments Fetching (#2074)" (#2086) 2019-03-26 22:30:22 -05:00
node Allow 8 Validator Multinode Cluster to Run Indefinitely (#2050) 2019-03-25 10:21:21 -05:00
operations Efficient logging for attestations (#2146) 2019-04-02 09:54:13 -07:00
powchain remove field (#2136) 2019-03-31 23:04:06 -05:00
rpc Remove unused service fields (#2139) 2019-04-03 07:59:18 -07:00
sync Refactor Initial Sync, Enable Catching Up to Chain (#2111) 2019-04-03 10:13:19 -05:00
utils Improve Validator Logging and Default Flags (#2013) 2019-03-18 09:45:28 -06:00
BUILD.bazel Create feature config for selective testing (#1997) 2019-03-20 22:57:25 -04:00
main.go Create feature config for selective testing (#1997) 2019-03-20 22:57:25 -04:00
README.md update beacon chain spec link (#1897) 2019-03-05 18:54:58 -05:00
usage.go Create feature config for selective testing (#1997) 2019-03-20 22:57:25 -04: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.