Skip to content

mtca: write to tiles#8900

Draft
jsha wants to merge 12 commits into
mtca-meets-profilesfrom
do-the-thing
Draft

mtca: write to tiles#8900
jsha wants to merge 12 commits into
mtca-meets-profilesfrom
do-the-thing

Conversation

@jsha

@jsha jsha commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

This wires up tiles.Frontier from #8896 to the MTCA's initialization and sequencing code paths. It also adds mtca.LoadFrontier, which is called from main at startup and loads the tiles into memory.

As of this change we are writing correctly-calculated RootHashes into the DB and properly-formed TBSCertificateLogEntry (wrapped in MTCLogEntry) into the tiles, along with all the hashes needed.

Note: this change is based on top of both #8886 and #8896 but is only "stacked" on top of #8886. Please ignore the changes under trees/; they will disappear once #8886 is merged and this PR is rebased.

jsha added 12 commits July 21, 2026 12:31
Frontier is loaded at MTCA startup, tracks appended entries and hash tiles, and
writes them to storage.

Implementation is written by me. The unittest in tiles_test.go was written by
Claude and reviewed and lightly edited by me (including rewriting the comments
in my own words).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant