prysm-pulse/beacon-chain/core/helpers
Nishant Das 655f57e3f2
Bound Initial Sync Cache Size (#4844)
* bound initial sync

* fix lint

* Revert "Better block attestation inclusion (#4838)"

This reverts commit 090d9627fe.

* add memory pool

* more fixes

* revert changes

* add hack

* revert hack

* push halving

* bring back hack

* increase cache size

* more fixes

* more changes

* new fixes

* add test

* add reverse test

* more tests and clean up

* add helper

* more cleanup and tests

* fix test

* remove code

* set gc percent flag

* lint

* lint

* Fix comment formatting

* Fix some formatting

* inverse if statement

* remove debug log

* Apply suggestions from code review

Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com>

* Update beacon-chain/state/getters.go

Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com>

* Update beacon-chain/db/kv/state.go

* integrate state generator

* gaz

* fixes

* terence's review

* reduce bound further

* fix test

* separate into new files

* gaz

* mod build file

* add test

* revert changes

* fix test

* Update beacon-chain/core/helpers/slot_epoch.go

Co-Authored-By: terence tsao <terence@prysmaticlabs.com>

* handle edge case

* add back test

* fix test again

* handle edge case

* Update beacon-chain/blockchain/init_sync_process_block.go

* Update beacon-chain/blockchain/init_sync_process_block.go

* Update beacon-chain/stategen/service_test.go

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

* Update beacon-chain/blockchain/init_sync_process_block.go

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

* Update beacon-chain/stategen/service.go

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

* Update beacon-chain/stategen/service.go

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

* raul's review

* raul's review

* fix refs

* terence's review

* one more fix

* Update beacon-chain/blockchain/init_sync_process_block.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2020-02-18 15:10:54 -06:00
..
spectest Removed active count and shuffling cache (#4266) 2019-12-12 01:15:44 +00:00
attestation_aggregation_bench_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
attestation_test.go Check attestation bitlist length in aggregation to prevent panic (#4876) 2020-02-16 10:18:48 -07:00
attestation.go Check attestation bitlist length in aggregation to prevent panic (#4876) 2020-02-16 10:18:48 -07:00
block_test.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
block.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
BUILD.bazel Remove remaining instances of proto.clone() (#4806) 2020-02-14 01:03:51 +00:00
committee_test.go Clean up verify attestation and better error log (#4729) 2020-02-03 11:46:26 -08:00
committee.go Clean up verify attestation and better error log (#4729) 2020-02-03 11:46:26 -08:00
randao_test.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
randao.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
rewards_penalties_test.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
rewards_penalties.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
shuffle_test.go Move SplitOffset to Sliceutil (#3606) 2019-09-26 16:25:55 -07:00
shuffle.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
slot_epoch_test.go Bound Initial Sync Cache Size (#4844) 2020-02-18 15:10:54 -06:00
slot_epoch.go Bound Initial Sync Cache Size (#4844) 2020-02-18 15:10:54 -06:00
validators_test.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
validators.go Add & use FinalizedCheckpointEpoch() to state (#4766) 2020-02-06 03:26:15 +00:00