lighthouse: Import expired blobs
Description
- initializing a new archive node that wishes to store all blobs back to the deneb fork will need a way to import blobs into the db
- syncing them over the network might place an undue burden on archive nodes because you’d ban all non-archive peers (unless we make peer scoring changes around this). This might not work well at all if there are too few archive nodes. It might work just by updating
min_epochs_for_blob_sidecars_requests to u64::MAX
- a better option would be to add a
--blob-provider flag that points to an archive node’s beacon API
- we could also potentially support importing a blobs db from a file
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 6
- Comments: 15 (11 by maintainers)
Mac and I are going to start working on this
@AntonieDavid Implementation is in progress. We’ll hopefully have a mainnet blob archive to share for testing soon. Just focussing on fixing Holesky currently.
New plan:
lighthouse dbthat uses either blob sidecar files from a directory, or the GET API of another BN to import blobs. POST them to the target BN using the POST API from (1).Things to check: