prysm-pulse/beacon-chain
Mohamed Zahoor c6bd7a2f83
Efficient Historical State Representation (#9155)
* added migration in to new schema

* gazel fix

* goimports fix

* construct state with validator entries from a seperate bucket

* save state with validator entry indirection

* fixed save and retreieve issues

* fixed more test cases related to DeepEqual

* added save benchmark

* gazel fix

* organize benchmarks

* add cache and improve state construction  performance

* gazel fix

* check type

* remove cache checking from Has

* fix decoding when cache is off

* fix slice bugs

* add migration testcases

* linter fix

* fix few review comments

* fix review feedback

* gazel fix

* satisfy deepsource

* added the feature flag

* lint fix

* fix usage of featureconfig Inti in testcases

* call resetConfig method

* add feature flag in  migration testcases

* fix formatting

* change bucket name from blockRootValidatorKeysIndexBucket to blockRootValidatorHashesBucket

* remove from cache when state deleted

* fixed few more comments

* added to devModeFlags

* added cache delete under the feature flag

* fix lint

* change cache sizes and improve documentation

* fiexed few more review coments

* not using hash anymore and using a new SaveStates function

* satisfu deepsource

* run gazel

* fix feature flag related stuff

* fixing merge conflict fix

* few goodies

* improve UX and dont swallow error

* merge fix

* import format fix

* fix migrationion when flag not given issue

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2021-07-27 20:02:53 +00:00
..
blockchain Use Only Checkpoint Cache for Processing Attestations (#9282) 2021-07-27 07:26:53 -07:00
cache State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
core Core/deposit: altair processing methods and tests (#9227) 2021-07-27 12:10:08 -07:00
db Efficient Historical State Representation (#9155) 2021-07-27 20:02:53 +00:00
forkchoice Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
gateway Do not require a handler function in the gateway (#9264) 2021-07-23 16:48:22 +00:00
interop-cold-start State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
node Rename AttestationNotifier (#9197) 2021-07-14 18:32:03 -07:00
operations State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
p2p Move proto/interfaces -> proto/prysm/v2 (#9270) 2021-07-23 20:10:15 +00:00
package Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
powchain Fixing wrong node information in fallback log (#9258) (#9272) 2021-07-25 23:46:54 +02:00
rpc Efficient Historical State Representation (#9155) 2021-07-27 20:02:53 +00:00
server Retrieve validators through v1 API in e2e (#9117) 2021-06-29 09:47:59 -05:00
slasher/types Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
state Core/deposit: altair processing methods and tests (#9227) 2021-07-27 12:10:08 -07:00
sync Move proto/interfaces -> proto/prysm/v2 (#9270) 2021-07-23 20:10:15 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.