Skip to content

Conversation

@AlCutter
Copy link
Collaborator

@AlCutter AlCutter commented May 14, 2025

This PR adds a simple fsck tool for tlog-tile compatible logs.

It recalculates the root hash in a checkpoint by reading all entry bundles implied by the checkpoint, verifies that all tiles implied by the checkpoint are present and contain the hashes the should, and that the checkpoint's root hash matches the calculated value.

Towards #701.

@AlCutter AlCutter requested a review from mhutchinson May 15, 2025 10:28
@AlCutter AlCutter marked this pull request as ready for review May 15, 2025 10:29
@AlCutter AlCutter requested a review from a team as a code owner May 15, 2025 10:29
@AlCutter AlCutter merged commit 5db8b7b into transparency-dev:main May 15, 2025
15 checks passed
@AlCutter AlCutter deleted the fsck_tool branch May 15, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants