In Progress

2026-01-16

Genesis Sync Accelerator

Weekly Report: 2026-01-16

  • Implemented the Genesis Sync Accelerator core modules in ouroboros-consensus: OnDemand.hs provides a decorator that wraps ImmutableDB with on-demand CDN chunk fetching and a bounded LRU cache; RemoteStorage.hs implements the HTTP client that downloads .chunk/.primary/.secondary file triplets from remote storage (commit 778b089).
  • Integrated the accelerator into immdb-server, allowing the server to transparently fetch missing chunks from a CDN when an iterator encounters data not available locally (commit 414d509).
  • Wrote the technical design report documenting the architecture: how decorateImmutableDB returns a synthetic tip far in the future so ChainSync proceeds beyond local data, and how chunks are fetched on-demand then served via mkRawChunkIterator.
  • Added LRU eviction of old chunk files (deleteChunkFiles) to keep the local cache bounded by a configurable maximum (commit 0235a76).