prysm-pulse/beacon-chain
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
..
blockchain Reduce Hashing When Filling In Forkchoice Blocks (#7716) 2020-11-05 01:33:45 +00:00
cache Include Multilock for GetAttPreState With Tests (#7669) 2020-11-03 21:18:15 +00:00
core Fuzz: sigp/beaconfuzz#91 (#7725) 2020-11-04 14:05:48 +00:00
db Remove deprecated headstate method in DB (#7680) 2020-10-30 15:11:08 +00:00
flags Update genesis time and deposit contract (#7727) 2020-11-04 17:36:31 +00:00
forkchoice Forkchoice: update read only lock to regular lock (#7633) 2020-10-24 16:35:18 +00:00
gateway Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
interop-cold-start Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
node Remove deprecated headstate method in DB (#7680) 2020-10-30 15:11:08 +00:00
operations Update BLST And Herumi (#7632) 2020-10-30 19:06:33 +00:00
p2p Add Backoff For Peer Dials (#7726) 2020-11-05 05:52:49 +00:00
powchain Powchain: Minor fix for log statement (#7728) 2020-11-05 00:10:37 +00:00
rpc Fix GetValidatorParticipation slot to epoch conversion (#7721) 2020-11-04 10:54:56 +08:00
state Remove expensive validators only method (#7717) 2020-11-03 12:47:21 -06:00
sync Init-sync: backtracking to alternative forks (#7564) 2020-11-06 15:54:20 +00:00
BUILD.bazel Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
main.go Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00
README.md Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
usage_test.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
usage.go Remove duplicated --slots-per-archive-point in help menu (#7731) 2020-11-05 00:53:59 +00: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.