-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: range proof sum optimization and cleanup (#101)
Description --- Adds details of a Bulletproofs+ optimization to RFC-0181. Removes old benchmark data. Motivation and Context --- The [Bulletproofs+ implementation](https://github.com/tari-project/bulletproofs-plus) contains a particular optimization used when [computing](https://github.com/tari-project/bulletproofs-plus/blob/d495fb24f9c7c34e0bfb0a38598b67e216fc56bf/src/range_proof.rs#L616-L625) a vector sum. This optimization is not particularly obvious, as it uses some fun arithmetic and a fact about [geometric series partial sums](https://mathworld.wolfram.com/GeometricSeries.html). This PR adds details about the math behind the optimization to [RFC-0181](https://rfc.tari.com/RFC-0181_BulletproofsPlus.html). It also removes outdated benchmark data, similarly to earlier [removal](tari-project/bulletproofs-plus#37) in the Bulletproofs+ repository. How Has This Been Tested? --- The changes build and render properly. The underlying mathematics should be manually checked for correctness.
- Loading branch information
1 parent
2a5edae
commit ad2f931
Showing
1 changed file
with
42 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters