-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added blob sidecars snapshots for sepolia (#9766)
# Downloader lock desing The snapshot lock design has been changed to be more flexible, before it was an empty file which determined whether to skip snapshots or not. now this file got extended a little bit. We now treat the lock file as a JSON file which has the following format: ```json ["headers", "bodies", etc...] ``` the strings are the stringfied snapshot types: ```go var Enums = struct { Unknown, Headers, Bodies, Transactions, BorEvents, BorSpans, BeaconBlocks, BlobSidecars , } ``` After each download is finished we push into the list the enums of the downloaded snapshots (for a normal sync that is only `Headers`, `Bodies` and `Transactions`+ Bor). When the node starts we prohibit all the snapshot types in the lock file and keep download open for the ones not in it. --------- Co-authored-by: alex.sharov <[email protected]>
- Loading branch information
1 parent
28c0c57
commit e08867b
Showing
14 changed files
with
184 additions
and
62 deletions.
There are no files selected for viewing
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.