-
Notifications
You must be signed in to change notification settings - Fork 41
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
Refactoring and improvments #896
Conversation
*/ | ||
trait SigmaProofOfKnowledgeLeaf[SP <: SigmaProtocol[SP], S <: SigmaProtocolPrivateInput[SP, _]] | ||
extends SigmaBoolean with SigmaProtocolCommonInput[SP] | ||
trait SigmaLeaf extends SigmaBoolean |
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.
why not to eliminate SigmaLeaf, what it is encoding?
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.
It plays the same role as SigmaConjecture. It used in prover to distinguish leafs from other nodes and have logic common to leaves regardless of the concrete leaf type.
Improved ScalaDoc.
In this PR: