Example binary showing log and map being co-hosted#8
Merged
Conversation
5eb2a56 to
932fc1c
Compare
This is a demo application that emulates a package repository. Each
entry in the log has a {module, version, hash}, and the map simply
enumerates all indices where a given module appears.
This uses Tessera POSIX implementation for the log, and hooks up the
LogReader for that as an InputLog to the Verifiable Index.
This starts a web server that hosts a form allowing a package name to be
input, and the list of indices are returned. Paths are:
- /vindex/ : the verifiable index
- /log/ : the log files, served via HTTP too
This will make it easier to prototype a demo client that will call into
this log/map combo.
TODO (in a future PR):
- Return inclusion proofs on vindex lookup
- Implement an output log
AlCutter
approved these changes
Jul 16, 2025
Contributor
Author
|
Hi @AlCutter - can you approve again if you're still happy? And if you know it, clap your hands? Ta. |
AlCutter
approved these changes
Jul 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a demo application that emulates a package repository. Each
entry in the log has a {module, version, hash}, and the map simply
enumerates all indices where a given module appears.
This uses Tessera POSIX implementation for the log, and hooks up the
LogReader for that as an InputLog to the Verifiable Index.
This starts a web server that hosts a form allowing a package name to be
input, and the list of indices are returned.
TODO (in a future PR):