Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated leaves start at the size of the tree #147

Merged
merged 1 commit into from
May 21, 2024

Conversation

mhutchinson
Copy link
Contributor

Without this change the generated leaves always start at size 0, which
means many writes are squashable as duplicates on the second run of the
tool. With this change, generated leaves will be unique except where the
intended duplicate generation code kicks in.

Without this change the generated leaves always start at size 0, which
means many writes are squashable as duplicates on the second run of the
tool. With this change, generated leaves will be unique except where the
intended duplicate generation code kicks in.
@mhutchinson
Copy link
Contributor Author

There are a couple of small unrelated improvements in here that I've just included to be pragmatic, but I can put them in a separate PR if desired.

@mhutchinson mhutchinson merged commit c80211c into transparency-dev:main May 21, 2024
9 checks passed
@mhutchinson mhutchinson deleted the startWriteAtTreeSize branch May 21, 2024 11:34
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.

2 participants