-
Notifications
You must be signed in to change notification settings - Fork 132
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
Documentation for multi-opening methods #129
Conversation
…tions; shifted batch_open into a more logical position
src/lib.rs
Outdated
/// Behaviour is undefined if `query_set` contains the entries with the | ||
/// same point label but different actual points. | ||
/// | ||
/// The opening challenges are independent for each batch of polynomials. | ||
/// | ||
/// The default implementation achieves this by rearranging the queries in | ||
/// order to gather (i.e. batch) all polynomials that should be queried at | ||
/// the same point, then opening their commitments simultaneously with a | ||
/// single call to `open` (per point) |
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.
@Antonio95 as you pointed out offline, I think this indeed belongs to the inline comment of the default implementation rather than on the trait.
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.
Agreed. Done! thanks
Co-authored-by: mmagician <marcin.gorny.94@protonmail.com>
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.
This is great, thanks!
* added documentation for batch_{check, open} and {check, open} combinations; shifted batch_open into a more logical position * Update src/lib.rs Co-authored-by: mmagician <marcin.gorny.94@protonmail.com> * moved description of default implementations into function body --------- Co-authored-by: mmagician <marcin.gorny.94@protonmail.com>
Description
Added documentation for
batch_open
,batch_check
,open_combinations
andcheck_combinations
, as well as an auxiliary method.The
batch_open
method has been moved to a more logical place inside thelib.rs
file (yielding the method order from the preceding sentence).Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
Pending
section inCHANGELOG.md
Files changed
in the Github PR explorer