-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add simple prover and simple verifier examples. #304
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Love the extra comments added on the prover script!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good!
It would be nice to use a different character than 'X' to indicate a redacted area. What do you think about █
or �
?
It looks nice, but I am afraid that this could complicate things, since these are non-ASCII characters and probably longer than one byte in UTF-8? |
|
@heeckhau, I tried printing a square which is extended ASCII 219 but rust prints � which is a character of length > 1 byte. If a developer tries to copy-paste the console output and parse it elsewhere, he may encounter issues. for the purposes of the upcoming hackathon, it is safer to stick with 7-bit ascii to avoid surprises. |
a89c926
to
8f33d12
Compare
This PR adds simple prover and simple verifier examples which will be run by those following a quick start guide tlsnotary/docs-mdbook#25
Most of the
simple_prover.rs
code was copied fromtwitter_dm.rs
example.Also fixes a bug in
tlsn-core
which prevented the example from running (so I included the fix in this PR)