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

Architecture: Definition of standard-interface to verifier #64

Open
FantasticoFox opened this issue Jan 22, 2022 · 0 comments
Open

Architecture: Definition of standard-interface to verifier #64

FantasticoFox opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
architecture blocker documentation Improvements or additions to documentation feature A new feature

Comments

@FantasticoFox
Copy link
Collaborator

Requirements:

  • A standard interface to retrieve data for the extension independent of the verifier which will exist in different implementations: e.g. library aqua-verifier-js / aqua-verifier-ts / aqua-verifier-go
  • The verifier's library need to be able to print also to command line. So maybe we need a small command-line to for the data output digest?
  • Other tools could use the output of the verifier for what ever...

Requirement to work for parallel revision verification:

If you verify a single revision, you can't do so if the previous revision had a signature or a witness event which got included in the current verification hash of the revision you're looking at. Hence: The context is given if the previous revision has signature or witness data. If they return true, you load that revision as well. The protocol is build in a way, which allows parallel verification. I would like to see this power utilized by the go-version of the verifier as go is optimal for parallel execution. This also requires that the verification structure / verification tree is first constructed, then all data is loaded, then all verification takes place (in parallel) and results are pushed out (also in parallel to be rendered in the front end).

@FantasticoFox FantasticoFox added documentation Improvements or additions to documentation feature A new feature architecture blocker labels Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture blocker documentation Improvements or additions to documentation feature A new feature
Projects
None yet
Development

No branches or pull requests

3 participants