prysm-pulse/beacon-chain/blockchain
terence tsao 840ffc84ac
Save state to DB during long non-finality (#7597)
* Starting saving state during hot

* Add a log

* Add helpers to turn on/off mode

* Add locks

* Add missing return

* Clean up

* Add logic to migration to handle db roots

* Add tests for on and off

* Add more tests

* Add test for migrate

* @prestonvanloon's feedback

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-23 00:35:30 +00:00
..
testing Fix Range Request Responses (#7531) 2020-10-22 09:33:01 -05:00
BUILD.bazel Update participation metrics (#7582) 2020-10-20 14:14:24 -05:00
chain_info_norace_test.go Applies assertion funcs to blockchain tests (#6605) 2020-07-16 12:11:39 +00:00
chain_info_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
chain_info.go Refactor head info for better usages for lock (#7432) 2020-10-06 10:57:18 +00:00
checkpoint_info_cache_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
checkpoint_info_cache.go Implement checkpt info cache (#7070) 2020-08-21 08:50:21 -07:00
head_test.go Add justified block insertion to forkchoice when missed (#7520) 2020-10-13 18:26:43 +00:00
head.go Add justified block insertion to forkchoice when missed (#7520) 2020-10-13 18:26:43 +00:00
info_test.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
info.go Refactor head info for better usages for lock (#7432) 2020-10-06 10:57:18 +00:00
init_sync_process_block.go Move skip-regen-historical-states to deprecated (#6512) 2020-07-08 00:15:45 +00:00
log.go Unnecessary Slice-to-Slice Conversion analyzer (#7321) 2020-09-23 16:14:34 +00:00
metrics_test.go Update participation metrics (#7582) 2020-10-20 14:14:24 -05:00
metrics.go Deep Source Security Issues (#7617) 2020-10-22 23:31:52 +00:00
process_attestation_helpers.go Combines func params of the same type (#7500) 2020-10-12 15:43:19 +00:00
process_attestation_test.go Add checking for finalized consistency (#7568) 2020-10-19 21:52:18 +00:00
process_attestation.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
process_block_helpers.go Add span for AncestorRoot (#7595) 2020-10-21 16:26:19 +00:00
process_block_test.go Update participation metrics (#7582) 2020-10-20 14:14:24 -05:00
process_block.go Update participation metrics (#7582) 2020-10-20 14:14:24 -05:00
receive_attestation_test.go Prevent far future target epoch for attestation state (#7169) 2020-09-03 13:18:38 -05:00
receive_attestation.go Add checking for finalized consistency (#7568) 2020-10-19 21:52:18 +00:00
receive_block_test.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00
receive_block.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00
service_norace_test.go Applies assertion funcs to blockchain tests (#6605) 2020-07-16 12:11:39 +00:00
service_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
service.go Rename unsafe-sync to head-sync (#7570) 2020-10-19 20:03:31 +00:00
weak_subjectivity_checks_test.go Add, use and test VerifyWeakSubjectivityRoot (#7344) 2020-09-26 08:04:07 +00:00
weak_subjectivity_checks.go Add, use and test VerifyWeakSubjectivityRoot (#7344) 2020-09-26 08:04:07 +00:00