prysm-pulse/beacon-chain/rpc
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
..
beacon Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298) 2020-07-03 05:46:53 +00:00
debug Best practice feedback - part 1 (#6385) 2020-06-24 21:09:47 +00:00
node Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
validator Hot states use no DB (#6488) 2020-07-06 17:22:12 +00:00
BUILD.bazel Add a Log for Newly Connected gRPC Clients in the Beacon Node (#6233) 2020-06-12 20:41:05 +00:00
service_test.go Clarify Insecure gRPC Connection Logs (#6276) 2020-06-17 14:32:13 +00:00
service.go Move hard-coded constants to global consts (#6467) 2020-07-03 15:25:32 +00:00