tari-project / triptych

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

feat!: add transcript composition #30

Closed AaronFeickert closed 9 months ago

AaronFeickert commented 9 months ago

This PR adds transcript composition, which allows for Triptych proofs to be more seamlessly used as part of larger protocols. To do so, the API is modified such that the prover and verifier accept a mutable Merlin transcript. This replaces the existing message binding, which is offloaded to the transcript.

Closes #28.

BREAKING CHANGE: Updates the APIs for Statement and Proof.