-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into backend-interface
* master: chore(noir_js)!: Rename inner and outer proof methods (#2845) chore: remove unnecessary `AcirValue`s (#2823)
- Loading branch information
Showing
5 changed files
with
30 additions
and
54 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export interface Backend { | ||
// Generate an outer proof. This is the proof for the circuit which will verify | ||
// inner proofs and or can be seen as the proof created for regular circuits. | ||
generateOuterProof(decompressedWitness: Uint8Array): Promise<Uint8Array>; | ||
generateFinalProof(decompressedWitness: Uint8Array): Promise<Uint8Array>; | ||
|
||
// Generates an inner proof. This is the proof that will be verified | ||
// in another circuit. | ||
generateInnerProof(decompressedWitness: Uint8Array): Promise<Uint8Array>; | ||
generateIntermediateProof(decompressedWitness: Uint8Array): Promise<Uint8Array>; | ||
|
||
verifyOuterProof(proof: Uint8Array): Promise<boolean>; | ||
verifyFinalProof(proof: Uint8Array): Promise<boolean>; | ||
|
||
verifyInnerProof(proof: Uint8Array): Promise<boolean>; | ||
verifyIntermediateProof(proof: Uint8Array): Promise<boolean>; | ||
} |
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
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