-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add standard storage mode and improve back-sync handling (30):
Store modes and back-sync: - Back-sync blocks to `Config::min_epochs_for_block_requests` in standard storage mode - Back-sync blob sidecars to `Config::min_epochs_for_blob_sidecars_requests` - Track & filter peers that don't serve blocks prior to `Config::min_epochs_for_block_requests` when performing full back-sync - Remove `Feature::TrustBackSyncBlocks` - Verify signatures of back-synced blocks - Move back-sync status to `Store` - Relocate `received_blob_sidecars` and `received_block_roots` caches from `p2p::Network` to `p2p::BlockSyncService` - Extend `SyncBatch` with `retry_count` and `responses_received` fields - Use smaller back-sync batches when syncing with blobs - Don't validate signature of genesis block - Track state archival progress in database to be able to resume it after restart - Don't request data from busy peers DB: - Add db-info command to inspect the Sync database - Replace read-only boolean flag with more descriptive `DatabaseMode` enum Other: - Panic to trigger app-restart if network thread is down - Handle exit signal in an archiver thread & batch archiver updates to db - Rename `RequestType` to `RPCRequestType` as it conflicts with updated `eth2_libp2p` - Log peer reporting in debug log - Log minimal back-sync info when starting back-sync - Don't log RPC received blocks to info logs (too much output during syncing)
- Loading branch information
Showing
42 changed files
with
1,659 additions
and
662 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.