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

libraries: darkpool: Add skeleton for match settlement verification #55

Merged
merged 4 commits into from
Mar 6, 2025

Conversation

joeykraut
Copy link
Member

Purpose

This PR scaffolds the types and interfaces for the processMatchSettle method on the darkpool. This method receives the validity proofs of two parties, a proof of VALID MATCH SETTLE, and proof links between the parties' proofs and the settlement proof. This method batch verifies all proofs, then updates the Merkle and nullifier state appropriately.

Testing

  • Unit tests pass

@joeykraut joeykraut merged commit 3dc07c7 into main Mar 6, 2025
0 of 2 checks passed
@joeykraut joeykraut deleted the joey/settle-match branch March 6, 2025 20:46
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.

1 participant