Skip to content

Commit

Permalink
Add a Sapling bundle builder function.
Browse files Browse the repository at this point in the history
This factors out the essential operation of the Sapling builder into a
pure function.
  • Loading branch information
nuttycom committed Dec 19, 2023
1 parent 6202084 commit 9c20a0b
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 195 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ The entries below are relative to the `zcash_primitives::sapling` module as of
- `sapling_crypto::SaplingVerificationContext` (moved from
`zcash_proofs::sapling`).
- `sapling_crypto::builder` (moved from
`zcash_primitives::transaction::components::sapling::builder`). Additional
`zcash_primitives::transaction::components::sapling::builder`). Further
additions to this module:
- `UnauthorizedBundle`
- `InProgress`
- `{InProgressProofs, Unproven, Proven}`
- `{InProgressSignatures, Unsigned, PartiallyAuthorized}`
- `{MaybeSigned, SigningParts}`
- `SpendDescriptionInfo::value`
- `SaplingOutputInfo`
- `SpendInfo`
- `OutputInfo`
- `ProverProgress`
- `BundleType`
- `bundle` bundle builder function.
- `sapling_crypto::bundle` module:
- The following types moved from
`zcash_primitives::transaction::components::sapling`:
Expand Down Expand Up @@ -168,6 +169,8 @@ The entries below are relative to the `zcash_primitives::sapling` module as of
- `OutputDescription::read`
- `OutputDescription::{write_v4, write_v5_without_proof}`
- `OutputDescriptionV5::read`
- `sapling_crypto::builder`:
- `SpendDescriptionInfo`
- `sapling_crypto::note_encryption::SaplingDomain::for_height` (use
`SaplingDomain::new` instead).
- `sapling_crypto::redjubjub` module (use the `redjubjub` crate instead).
Expand Down
Loading

0 comments on commit 9c20a0b

Please sign in to comment.