Expand description
Delta log persistence backed by redb.
Stores (DaCert, delta_blob) pairs keyed by sequence_no so bootstrap
consumers get both the EigenDA attestation and the raw delta in one
round-trip. Range fetch returns entries in ascending sequence order for
deterministic replay.
Gap tolerance (§S.19): put accepts any sequence number without
requiring predecessors to exist. fetch_range returns the entries that
do exist; gaps are signalled by missing sequence numbers in the result
and are never treated as errors. This is required for post-injection
recovery where an admin-seeded snapshot may create discontinuities in the
delta stream.
Structs§
- Delta
Entry - A delta record: format version, EigenDA certificate bytes, and raw blob.
- Delta
Store - redb-backed store for delta blobs keyed by sequence number.
Constants§
- MAX_
DELTA_ BLOB_ BYTES - 64 MiB — upper bound on a single delta blob.
- MAX_
DELTA_ CERT_ BYTES - 4 MiB — upper bound on a serialized EigenDA certificate.
- MAX_
FETCH_ RANGE_ LEN - Maximum number of delta entries returnable from a single
fetch_rangecall.