Skip to content

db: add checkpointSubtrees table - #8990

Draft
jsha wants to merge 2 commits into
mainfrom
subtrees-schema
Draft

db: add checkpointSubtrees table#8990
jsha wants to merge 2 commits into
mainfrom
subtrees-schema

Conversation

@jsha

@jsha jsha commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

To generate a standalone certificate, we need to map an order / MTC serial number to a subtree that (a) contains that serial number and (b) will eventually get a mirror signature written to it by the mtpublisher.

Add a new table to store (up to) two subtrees per checkpoint, covering the entries between that checkpoint and the previous one.

Also add an mtcSubtreeID field to order objects.

Adds more documentation about what's stored in the checkpoints.mirrorSignature and checkpoints.mtcaSignature fields, with a TODO to change what's stored there.

jsha added 2 commits August 28, 2026 14:04
To generate a standalone certificate, we need to map an order / MTC serial
number to a subtree that (a) contains that serial number and (b) will
eventually get a mirror signature written to it by the mtpublisher.

Add a new table to store (up to) two subtrees per checkpoint, covering the
entries between that checkpoint and the previous one.

Also add an `mtcSubtreeID` field to order objects.

Adds more documentation about what's stored in the `checkpoints.mirrorSignature`
and `checkpoints.mtcaSignature` fields, with a TODO to change what's stored
there.
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