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

feat: simplify bit vector commitment #35

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

AaronFeickert
Copy link
Contributor

@AaronFeickert AaronFeickert commented Jun 19, 2023

Currently, bit vector commitments are computed using multiscalar multiplication against the inner-product generators. However, this can be simplified by using the shiny new generator precomputation feature.

Revert "Simplify bit vector commitment"

This reverts commit eaa60fa.

Test: bit vector commitment via precomputation
Copy link
Contributor

@CjS77 CjS77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CjS77 CjS77 merged commit f831d64 into tari-project:main Jul 5, 2023
6 checks passed
@AaronFeickert AaronFeickert deleted the bit-vector-commitment branch July 5, 2023 16:22
@SWvheerden SWvheerden mentioned this pull request Jul 13, 2023
stringhandler pushed a commit that referenced this pull request Jul 13, 2023
Update the version

##
[0.3.0](v0.2.3...v0.3.0)
(2023-07-13)


## ⚠ BREAKING CHANGES

* Changes the way that seed nonces are used in mask
recovery. Existing range proofs will verify, but will fail to recover
the correct mask.

## Features

* simplify bit vector commitment
([35](#35))
([f831d64](f831d64)),
closes
[/github.com/tari-project/bulletproofs-plus/blob/cd7588ee8eaebe862fe9cf5d7c3fd92981703e87/src/range_proof.rs#L265-L273](https://github.com/tari-project//github.com/tari-project/bulletproofs-plus/blob/cd7588ee8eaebe862fe9cf5d7c3fd92981703e87/src/range_proof.rs/issues/L265-L273)
* use precomputation on (most) fixed generators
([19](#19))
([cd7588e](cd7588e)),
closes
[#18](#18)


## Bug Fixes

* nonce index encoding
([31](#31))
([394843f](394843f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants