prysm-pulse/beacon-chain/state/stategen
terence tsao 7a27d89e68
Reduce memory usage for new-state-mgmt at init sync (#5778)
* Add `GetWithoutCopy`
* Add `StateByRootInitialSync`
* Use `StateByRootInitialSync` for initial syncing using new-state-mgmt
* Merge branch 'master' into new-state-init-sync-mem
* Skip if split slot is 0
* Merge branch 'new-state-init-sync-mem' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
* Make sure we invalidate cache
* Add test part 1
* Add tests part 2
* Update beacon-chain/cache/hot_state_cache.go

Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
* Comment
* Merge branch 'new-state-init-sync-mem' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
* Merge branch 'master' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
* Dont need to run fork choice and save head during intial sync
* Invalidate cache at onBlockInitialSyncStateTransition
* Merge branch 'new-state-init-sync-mem' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
* Revert saveHeadNoDB changes
* Add back DeleteHotStateInCache
* Removed extra deletion
* Merge branch 'master' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
* Proper set splitslot for tests
* Merge branch 'master' into new-state-init-sync-mem
* Merge branch 'master' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
* Merge branch 'new-state-init-sync-mem' of github.com:prysmaticlabs/prysm into new-state-init-sync-mem
2020-05-08 19:02:48 +00:00
..
BUILD.bazel libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
cold_test.go Fix cold state generation (#5770) 2020-05-06 13:25:37 -07:00
cold.go Fix cold state generation (#5770) 2020-05-06 13:25:37 -07:00
errors.go Add error definitions for state gen pkg (#5000) 2020-03-04 16:50:08 +00:00
getter_test.go Reduce memory usage for new-state-mgmt at init sync (#5778) 2020-05-08 19:02:48 +00:00
getter.go Reduce memory usage for new-state-mgmt at init sync (#5778) 2020-05-08 19:02:48 +00:00
hot_test.go Use stateutil.BlockRoot everywhere (#5739) 2020-05-05 04:30:24 +00:00
hot.go Save init sync cached blocks before regenerate state (#5501) 2020-04-18 23:29:58 +00:00
log.go Feature flag to gate prune state upon start up (#5011) 2020-03-05 06:24:59 +00:00
migrate_test.go Reduce memory usage for new-state-mgmt at init sync (#5778) 2020-05-08 19:02:48 +00:00
migrate.go Reduce memory usage for new-state-mgmt at init sync (#5778) 2020-05-08 19:02:48 +00:00
replay_test.go Fix cold state generation (#5770) 2020-05-06 13:25:37 -07:00
replay.go Fix cold state generation (#5770) 2020-05-06 13:25:37 -07:00
service_test.go Refactor db teardown to testing.TB.Cleanup (#5725) 2020-05-04 01:14:34 +00:00
service.go All Beacon Node Package-Level Godocs (#5677) 2020-04-29 12:40:33 -05:00
setter_test.go Refactor db teardown to testing.TB.Cleanup (#5725) 2020-05-04 01:14:34 +00:00
setter.go Reduce memory usage for new-state-mgmt at init sync (#5778) 2020-05-08 19:02:48 +00:00