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

zcash_primitives: Refactor the transaction builder to enable applying proofs and signatures separately #1624

Open
str4d opened this issue Nov 18, 2024 · 0 comments
Labels
S-in-progress Status: Work is currently in progress on this item.

Comments

@str4d
Copy link
Contributor

str4d commented Nov 18, 2024

This will result in the same kind of top-level builder API for transactions as we already have for Sapling and Orchard bundles individually:

  • Construct a Builder.
  • Add spends and outputs.
  • Builder::build produces an unauthorized transaction.
  • Methods on that unauthorized transaction construct proofs or apply signatures.
  • A final method produces the authorized transaction once all bundles within it have been authorized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-in-progress Status: Work is currently in progress on this item.
Projects
None yet
Development

No branches or pull requests

1 participant