lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Allow importing of historical blobs via HTTP API

Open macladson opened this issue 1 year ago • 2 comments

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_root is consistent across each BlobSidecarList.
  • Checks that block_root exists in the database.
  • Checks if a BlobSidecarList is already stored for that block_root. If it is, ensure it matches the BlobSidecarList we are attempting to store.

macladson avatar Dec 04 '24 13:12 macladson

This pull request has merge conflicts. Could you please resolve them @macladson? 🙏

mergify[bot] avatar Mar 17 '25 09:03 mergify[bot]

This pull request has merge conflicts. Could you please resolve them @macladson? 🙏

mergify[bot] avatar May 19 '25 05:05 mergify[bot]