tari-project / rfcs

RFC documents for the Tari protocol
3 stars 17 forks source link

RFC-0204/TariScriptExamples references deprecated range proof rewinding #83

Open AaronFeickert opened 1 year ago

AaronFeickert commented 1 year ago

The one-sided payment example in RFC-0204 is out of date. It references the use of RFC-0180 Bulletproof range proof rewinding. In addition to Bulletproofs being superseded by Bulletproofs+ for range proving and mask recovery, value communication is now done using a separate encryption.

This should be changed to reflect the work-in-progress PR for Bulletproofs+ range proving.

AaronFeickert commented 1 year ago

This is about to become even more out of date than before.

A draft PR suggests making range proofs optional, and encrypting commitment values and masks together. Once it is merged, any references to range proof rewinding in RFC-0204 will be inaccurate. While rewinding will still be possible in the Bulletproofs+ library, the default client will no longer support it.

Another draft PR suggests a change to interactive outputs to better support scanning without access to a wallet's secret key. Once it is implemented, the discussion of such outputs in RFC-0204 will be inaccurate.