prysm-pulse/beacon-chain/db/kv
kasey 1df173e701
Block backfilling (#12968)
* backfill service

* fix bug where origin state is never unlocked

* support mvslice states

* use renamed interface

* refactor db code to skip block cache for backfill

* lint

* add test for verifier.verify

* enable service in service init test

* cancellation cleanup

* adding nil checks to configset juggling

* assume blocks are available by default

As long as we're sure the AvailableBlocker is initialized correctly
during node startup, defaulting to assuming we aren't in a checkpoint
sync simplifies things greatly for tests.

* block saving path refactor and bugfix

* fix fillback test

* fix BackfillStatus init tests

---------

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-01-23 07:54:30 +00:00
..
testdata Capella State Detection (#11862) 2023-01-13 04:04:37 +00:00
archived_point_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
archived_point.go fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
backfill_test.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
backfill.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
backup_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
backup.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
blocks_test.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
blocks.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
BUILD.bazel Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
checkpoint_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
checkpoint.go db: Deduplicate saveCheckpoint functionality (#12304) 2023-04-20 12:13:21 +00:00
deposit_contract_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
deposit_contract.go fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
encoding_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
encoding.go fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
error.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
execution_chain_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
execution_chain.go fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
finalized_block_roots_test.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
finalized_block_roots.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
genesis_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
genesis.go db: Log a warning if the genesis state is smaller than 1Kb (#12897) 2023-09-23 15:29:15 +00:00
init_test.go Enable profile guided optimization for beacon-chain (#13035) 2023-10-30 05:52:36 +00:00
key.go Deneb DB methods (#12379) 2023-08-31 08:41:57 -05:00
kv_test.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
kv.go Remove old blob types (#13438) 2024-01-10 09:38:06 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
migration_archived_index_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
migration_archived_index.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
migration_block_slot_index_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
migration_block_slot_index.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
migration_state_validators_test.go Fix Migration Of State (#12423) 2023-05-18 13:18:56 +00:00
migration_state_validators.go Fix Migration Of State (#12423) 2023-05-18 13:18:56 +00:00
migration.go Store Blinded Beacon Blocks by Default for New Prysm Databases (#11591) 2023-03-01 00:07:23 +00:00
schema.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
state_summary_cache.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
state_summary_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
state_summary.go fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
state_test.go Use deneb key for deneb state in saveStatesEfficientInternal (#13374) 2023-12-21 18:14:04 +00:00
state.go Use deneb key for deneb state in saveStatesEfficientInternal (#13374) 2023-12-21 18:14:04 +00:00
utils_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
utils.go fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
validated_checkpoint_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validated_checkpoint.go db: Deduplicate saveCheckpoint functionality (#12304) 2023-04-20 12:13:21 +00:00
wss_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
wss.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00