prysm-pulse/beacon-chain/blockchain
terence tsao def7b602e3
Hot states use no DB (#6488)
* Add cache to service struct
* Update hot getters/setters to use cache
* Update migration
* Update other services to adapt
* Fix initial sync get state
* Update getter related tests
* Update hot related tests
* Update migrate related tests
* New awesome tests for migration
* Clean up rest of the tests
* Merge refs/heads/master into hot-state-no-db
* Fix block chain head tests
* Fix block chain processor tests
* Fixed RPC tests
* Update cold getter and test
* Merge branch 'hot-state-no-db' of github.com:prysmaticlabs/prysm into hot-state-no-db
* Fix sync tests
* Short cut if state is already in DB
* Remove uneeded saves
* Update beacon-chain/state/stategen/hot_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/state/stategen/getter_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/state/stategen/getter_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/state/stategen/service.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/state/stategen/setter_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Preston's feedback
* Merge branch 'hot-state-no-db' of github.com:prysmaticlabs/prysm into hot-state-no-db
* Return a copy of cache states
* Remove hot state caches check in StateByRoot
* Merge branch 'hot-state-no-db' of github.com:prysmaticlabs/prysm into hot-state-no-db
* Merge refs/heads/master into hot-state-no-db
* Raul's feedback
* Merge branch 'hot-state-no-db' of github.com:prysmaticlabs/prysm into hot-state-no-db
2020-07-06 17:22:12 +00:00
..
testing Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298) 2020-07-03 05:46:53 +00:00
BUILD.bazel Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298) 2020-07-03 05:46:53 +00:00
chain_info_norace_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
chain_info_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
chain_info.go Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298) 2020-07-03 05:46:53 +00:00
head_test.go Add spans for head state access (#6418) 2020-06-26 22:52:11 +00:00
head.go Hot states use no DB (#6488) 2020-07-06 17:22:12 +00:00
info.go Add spans for head state access (#6418) 2020-06-26 22:52:11 +00:00
init_sync_process_block_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
init_sync_process_block.go Deprecates --disable-init-sync-batch-save-blocks flag (#6403) 2020-06-25 15:55:43 -05:00
log.go beacon/log: augment logs with block roots (#5675) 2020-04-29 16:57:04 +00:00
metrics.go Best practice feedback - part 1 (#6385) 2020-06-24 21:09:47 +00:00
process_attestation_helpers.go Address spec adherence feedbacks (#6365) 2020-06-24 03:14:44 +00:00
process_attestation_test.go Hot states use no DB (#6488) 2020-07-06 17:22:12 +00:00
process_attestation.go Archival service removal (#6448) 2020-07-01 10:04:06 -07:00
process_block_helpers.go Deprecates --disable-init-sync-batch-save-blocks flag (#6403) 2020-06-25 15:55:43 -05:00
process_block_test.go Hot states use no DB (#6488) 2020-07-06 17:22:12 +00:00
process_block.go Archival service removal (#6448) 2020-07-01 10:04:06 -07:00
receive_attestation_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
receive_attestation.go QSP-Docs All Documentation Improvements from Quantstamp Audit Report (#6367) 2020-06-23 21:11:20 +00:00
receive_block_test.go Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298) 2020-07-03 05:46:53 +00:00
receive_block.go Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298) 2020-07-03 05:46:53 +00:00
service_norace_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
service_test.go Bulk verify block deposits with BLS (#6454) 2020-06-29 20:52:19 -05:00
service.go Hot states use no DB (#6488) 2020-07-06 17:22:12 +00:00