Skip to content

Conversation

@cjpatton
Copy link
Contributor

No description provided.

@cjpatton cjpatton requested a review from bwesterb October 30, 2025 23:01
@cjpatton cjpatton added the mtc Merkle Tree Certificates label Oct 30, 2025
@bwesterb
Copy link
Member

bwesterb commented Nov 3, 2025

Note that this doesn't match the documented interface to expose landmarks.

@bwesterb
Copy link
Member

bwesterb commented Nov 3, 2025

I missed this in the previous round of reviews, but it's not ideal that there is quite a bit of duplication in this API: we need to check that the end of one subtree matches the start of the next; and that the treesize of the checkpoint matches end-1 of the last subtree.

@cjpatton
Copy link
Contributor Author

cjpatton commented Nov 3, 2025

I'll update the docs in this PR.

we need to check that the end of one subtree matches the start of the next; and that the treesize of the checkpoint matches end-1 of the last subtree.

My understanding is that adjacent subtrees may actually overlap a bit?

@cjpatton cjpatton merged commit b3c66b0 into main Nov 3, 2025
1 check passed
@cjpatton cjpatton deleted the cjpatton/landmark-bundle-subtree-hash branch November 3, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mtc Merkle Tree Certificates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants