lighthouse
lighthouse copied to clipboard
Allow importing of historical blobs via HTTP API
Issue Addressed
https://github.com/sigp/lighthouse/issues/5391
Proposed Changes
Allows importing historical blobs into the blobs-db via the /lighthouse/database/import_blobs endpoint.
Supports SSZ through /lighthouse/database/import_blobs_ssz.
In both cases, the required format must deserialize to Vec<BlobSidecarList<E>>
Performs the following checks:
- Checks that
block_rootis consistent across eachBlobSidecarList. - Checks that
block_rootexists in the database. - Checks if a
BlobSidecarListis already stored for thatblock_root. If it is, ensure it matches theBlobSidecarListwe are attempting to store.
This pull request has merge conflicts. Could you please resolve them @macladson? 🙏
This pull request has merge conflicts. Could you please resolve them @macladson? 🙏