prysm-pulse/beacon-chain/blockchain
terence tsao 7f7866ff2a
Micro optimizations on new-state-mgmt service for initial syncing (#5241)
* Starting a quick PoC

* Rate limit to one epoch worth of blocks in memory

* Proof of concept working

* Quick comment out

* Save previous finalized checkpoint

* Test

* Minor fixes

* More run time fixes

* Remove panic

* Feature flag

* Removed unused methods

* Fixed tests

* E2e test

* comment

* Compatible with current initial sync

* Starting

* New cache

* Cache getters and setters

* It should be part of state gen

* Need to use cache for DB

* Don't have to use finalized state

* Rm unused file

* some changes to memory mgmt when using mempool

* More run time fixes

* Can sync to head

* Feedback

* Revert "some changes to memory mgmt when using mempool"

This reverts commit f5b3e7ff4714fef9f0397007f519a45fa259ad24.

* Fixed sync tests

* Fixed existing tests

* Test for state summary getter

* Gaz

* Fix kafka passthrough

* Fixed inputs

* Gaz

* Fixed build

* Fixed visibility

* Trying without the ignore

* Didn't work..

* Fix kafka

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-03-30 17:10:45 -05:00
..
testing Batch save blocks for initial sync. 80% faster BPS (#5215) 2020-03-30 18:04:10 +00:00
BUILD.bazel Custom Block HTR (#5219) 2020-03-26 13:10:22 -05:00
chain_info_norace_test.go Handle nil head block in cache (#4888) 2020-02-17 12:21:42 -06:00
chain_info_test.go Handle nil head block in cache (#4888) 2020-02-17 12:21:42 -06:00
chain_info.go Minor Improvements (#5099) 2020-03-14 16:12:22 +00:00
head_test.go Better head object coupling for chain service (#4869) 2020-02-15 18:57:49 +00:00
head.go Revert "Add Fast Copy of Trie" (#5228) 2020-03-27 01:06:30 +00:00
info.go Better head object coupling for chain service (#4869) 2020-02-15 18:57:49 +00:00
init_sync_process_block_test.go Micro optimizations on new-state-mgmt service for initial syncing (#5241) 2020-03-30 17:10:45 -05:00
init_sync_process_block.go Batch save blocks for initial sync. 80% faster BPS (#5215) 2020-03-30 18:04:10 +00:00
log.go Plug-In Attester Slashing Detection Into Slasher Runtime (#4937) 2020-02-27 12:22:39 -05:00
metrics.go Move blockchain service metrics package (#4959) 2020-02-27 19:38:22 +00:00
process_attestation_helpers.go Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00
process_attestation_test.go HashProto: Use fastssz when available (#5218) 2020-03-28 18:32:11 +00:00
process_attestation.go Better logs for forking (#4966) 2020-03-02 09:51:26 -08:00
process_block_helpers.go Batch save blocks for initial sync. 80% faster BPS (#5215) 2020-03-30 18:04:10 +00:00
process_block_test.go Release --initial-sync-cache-state (#4938) 2020-02-24 19:20:00 -06:00
process_block.go Micro optimizations on new-state-mgmt service for initial syncing (#5241) 2020-03-30 17:10:45 -05:00
receive_attestation_test.go Use proto array forkchoice as default (#4778) 2020-02-06 13:03:26 -06:00
receive_attestation.go Part 1 of integrating new state mgmt to run time (#5108) 2020-03-16 12:07:07 -07:00
receive_block.go Batch save blocks for initial sync. 80% faster BPS (#5215) 2020-03-30 18:04:10 +00:00
service_norace_test.go Better head object coupling for chain service (#4869) 2020-02-15 18:57:49 +00:00
service_test.go Better attestation pool with map instead of expiration cache (#5087) 2020-03-13 12:35:28 -05:00
service.go Batch save blocks for initial sync. 80% faster BPS (#5215) 2020-03-30 18:04:10 +00:00