prysm-pulse/beacon-chain/sync
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
..
initial-sync Add in Better Logging for Requests (#6483) 2020-07-03 10:08:45 +00:00
BUILD.bazel Add in Better Logging for Requests (#6483) 2020-07-03 10:08:45 +00:00
deadlines.go QSP-62 Corrupted Clock In Stream Deadlines (#6404) 2020-06-25 22:36:18 +00:00
decode_pubsub.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go QSP-33 Check Max Response For All Topics (#6424) 2020-06-30 09:50:28 -05:00
error.go QSP-33 Check Max Response For All Topics (#6424) 2020-06-30 09:50:28 -05:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
pending_attestations_queue_test.go Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
pending_attestations_queue.go Fix Invalid SSZ in Block Roots RPC Request (#6405) 2020-06-26 17:05:04 +00:00
pending_blocks_queue_test.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
pending_blocks_queue.go Fix Invalid SSZ in Block Roots RPC Request (#6405) 2020-06-26 17:05:04 +00:00
rpc_beacon_blocks_by_range_test.go QSP-33 Check Max Response For All Topics (#6424) 2020-06-30 09:50:28 -05:00
rpc_beacon_blocks_by_range.go QSP-BestPractice: Refactors inline ttfb/resp time constants (#6463) 2020-07-01 09:47:59 +00:00
rpc_beacon_blocks_by_root_test.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
rpc_beacon_blocks_by_root.go Add in Better Logging for Requests (#6483) 2020-07-03 10:08:45 +00:00
rpc_chunked_response.go QSP-BestPractice: Refactors inline ttfb/resp time constants (#6463) 2020-07-01 09:47:59 +00:00
rpc_goodbye_test.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
rpc_goodbye.go Move hard-coded constants to global consts (#6467) 2020-07-03 15:25:32 +00:00
rpc_metadata_test.go QSP-33 Check Max Response For All Topics (#6424) 2020-06-30 09:50:28 -05:00
rpc_metadata.go Add in Better Logging for Requests (#6483) 2020-07-03 10:08:45 +00:00
rpc_ping_test.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
rpc_ping.go Add in Better Logging for Requests (#6483) 2020-07-03 10:08:45 +00:00
rpc_status_test.go QSP-13 Only Allow Snappy P2P Encoding (#6415) 2020-07-03 11:24:30 +08:00
rpc_status.go Move hard-coded constants to global consts (#6467) 2020-07-03 15:25:32 +00:00
rpc_test.go Adds rate limiting tests to beaconBlocksByRangeRPCHandler (#5866) 2020-05-15 20:51:23 +00:00
rpc.go Add in Better Logging for Requests (#6483) 2020-07-03 10:08:45 +00:00
service_test.go Register RPC And Pubsub Handlers After Genesis is Determined (#6020) 2020-05-28 05:39:40 +00:00
service.go Move hard-coded constants to global consts (#6467) 2020-07-03 15:25:32 +00:00
subscriber_beacon_aggregate_proof_test.go Save unaggregated att in beacon_aggregate_and_proof subscriber (#6109) 2020-06-03 19:49:43 +00:00
subscriber_beacon_aggregate_proof.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
subscriber_beacon_attestation_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
subscriber_beacon_attestation.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
subscriber_beacon_blocks_test.go Sync: do not remove attestations from pool on failed block processing (#6474) 2020-07-02 20:24:30 +00:00
subscriber_beacon_blocks.go Sync: do not remove attestations from pool on failed block processing (#6474) 2020-07-02 20:24:30 +00:00
subscriber_handlers.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
subscriber_test.go Refactor setupDB to return the state summary cache used by the database (#6369) 2020-06-23 13:40:55 -07:00
subscriber.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
sync_test.go Refactors redundant global variables from sync (#5860) 2020-05-15 08:53:19 +00:00
utils_test.go Use spec attestation time verification in gRPC requests (#6429) 2020-06-28 14:37:17 -07:00
utils.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
validate_aggregate_proof_test.go Use spec attestation time verification in gRPC requests (#6429) 2020-06-28 14:37:17 -07:00
validate_aggregate_proof.go Use spec attestation time verification in gRPC requests (#6429) 2020-06-28 14:37:17 -07:00
validate_attester_slashing_test.go Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
validate_attester_slashing.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
validate_beacon_attestation_test.go Address spec adherence feedbacks (#6365) 2020-06-24 03:14:44 +00:00
validate_beacon_attestation.go Use spec attestation time verification in gRPC requests (#6429) 2020-06-28 14:37:17 -07:00
validate_beacon_blocks_test.go Hot states use no DB (#6488) 2020-07-06 17:22:12 +00:00
validate_beacon_blocks.go Clean up old block processing paths (#6311) 2020-06-22 17:19:33 -07:00
validate_proposer_slashing_test.go Fix proposer slashing context timeout test (#6379) 2020-06-24 12:10:40 +00:00
validate_proposer_slashing.go Renames receiver in sync service (#6348) 2020-06-22 20:37:48 +00:00
validate_voluntary_exit_test.go Address spec adherence feedbacks (#6365) 2020-06-24 03:14:44 +00:00
validate_voluntary_exit.go QSP-9 Prevent Casting to Int if Possible (#6349) 2020-06-26 11:07:00 -05:00