Commit Graph

278 Commits

Author SHA1 Message Date
Jack Grigg 5bf2578ac6
Merge pull request #147 from zcash/pczt-verifier
Add methods for validating aspects of PCZT bundles
2024-12-13 21:11:24 +13:00
Jack Grigg 94ad2b356e Adjust cases in `pczt::Spend::vk_for_validation`
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-12-13 07:56:21 +00:00
Jack Grigg 231f819116 Add methods for validating aspects of PCZT bundles 2024-12-13 00:17:30 +00:00
Jack Grigg e177a08651
Merge pull request #146 from zcash/pczt
Implement PCZT support
2024-12-12 15:18:21 +13:00
Jack Grigg 96d0e6944e Fix clippy lint 2024-12-07 12:05:49 +00:00
Jack Grigg 29cff9683c pczt: Store proof generation key for dummy spends 2024-12-07 11:00:45 +00:00
Kris Nuttycombe 42a1de5a20 Add `DiversifiableFullViewingKey::to_internal_fvk`.
This is needed in order to permit spending of internal notes after the
previous change to `Builder::add_spend`.
2024-12-05 17:07:29 +00:00
Jack Grigg 833eb2ec02 Modify builder to take spending keys as late as possible 2024-12-05 17:07:29 +00:00
Jack Grigg f228f52542 Add the PCZT Updater role 2024-12-05 17:07:29 +00:00
Jack Grigg 7696219bf3 Implement PCZT support 2024-12-03 11:27:15 +00:00
Jack Grigg 44c4b1724c
Merge pull request #143 from zcash/generalise-spend-desc-conversion
Broaden `Authorization`s from `SpendDescriptionV5::into_spend_description`
2024-10-24 06:06:09 +01:00
Jack Grigg 6527e792e4 Broaden `Authorization`s from `SpendDescriptionV5::into_spend_description`
This enables the method to be used with bundles that have spend auth
signatures and proofs, but not yet binding signatures.
2024-10-24 04:37:29 +00:00
Jack Grigg 03515178d6
Merge pull request #144 from zcash/output-prover-api-fix
Fix `OutputProver::prepare_circuit` API to be usable outside the crate
2024-10-24 05:29:16 +01:00
Jack Grigg a8fb276252 Fix `OutputProver::prepare_circuit` API to be usable outside the crate
The public APIs that produced `esk` all used the `EphemeralSecretKey`
type, but that could only be converted to a `jubjub::Scalar` inside the
crate. We now use the type-safe wrapper consistently.
2024-10-12 19:47:50 +00:00
Kris Nuttycombe 0de24021a8
Merge pull request #142 from zcash/release/sapling-crypto-0.3.0
Release sapling-crypto version 0.3.0
2024-10-02 11:35:53 -06:00
Kris Nuttycombe 2f6a08212c Release sapling-crypto version 0.3.0 2024-10-02 11:18:18 -06:00
Jack Grigg 79a285d845
Merge pull request #138 from zcash/dependabot/github_actions/auguwu/clippy-action-1.4.0
Bump auguwu/clippy-action from 1.3.0 to 1.4.0
2024-09-27 14:08:20 +01:00
Jack Grigg ac2c1e2f3f
Merge pull request #141 from zcash/incrementalmerkletree_0.7
Update to incrementalmerkletree version 0.7
2024-09-26 23:35:10 +01:00
Kris Nuttycombe b1ad3694ee Update to incrementalmerkletree version 0.7 2024-09-26 15:24:47 -06:00
Kris Nuttycombe 984a088976
Merge pull request #139 from nuttycom/release/0.2.0
Release sapling-crypto version 0.2.0
2024-08-12 15:32:52 -06:00
Kris Nuttycombe 1aa51971da Release sapling-crypto version 0.2.0
This is a maintenance release to upgrade the `incrementalmerkletree`
dependency to version 0.6.
2024-08-12 15:23:27 -06:00
dependabot[bot] 324eaf01e0
Bump auguwu/clippy-action from 1.3.0 to 1.4.0
Bumps [auguwu/clippy-action](https://github.com/auguwu/clippy-action) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/auguwu/clippy-action/releases)
- [Commits](https://github.com/auguwu/clippy-action/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: auguwu/clippy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 02:21:58 +00:00
Kris Nuttycombe d23547f0d3
Merge pull request #135 from zcash/release-0.1.3
sapling-crypto release version 0.1.3
2024-03-24 20:33:13 -06:00
Kris Nuttycombe 14c042eda9 sapling-crypto release version 0.1.3 2024-03-24 19:19:30 -06:00
Kris Nuttycombe 54fc7d3d9c
Merge pull request #134 from nuttycom/nullifier_ord
Derive `{PartialOrd, Ord}` for `note::Nullifier`
2024-03-20 13:40:08 -06:00
Kris Nuttycombe 827534329f Derive `{PartialOrd, Ord}` for `note::Nullifier` 2024-03-20 11:39:06 -06:00
Kris Nuttycombe 22412ae076
Merge pull request #131 from nuttycom/node_random_dist
Add `Node::random` and `Distribution<Node> for Standard` for testing.
2024-03-18 08:53:34 -06:00
Kris Nuttycombe dee71eee99 Add `Node::random` and `Distribution<Node> for Standard` for testing. 2024-03-16 08:54:13 -06:00
str4d 2122dbed71
Merge pull request #129 from zcash/release-0.1.2
Release 0.1.2
2024-03-08 20:07:09 +00:00
Jack Grigg 291a1ac1c2 sapling-crypto 0.1.2 2024-03-08 19:57:52 +00:00
Jack Grigg b221f35f15 Add tests for `IncomingViewingKey` encoding 2024-03-08 19:57:34 +00:00
str4d f2219462ae
Merge pull request #128 from nuttycom/sapling_divk
Add `DiversifiableIncomingViewingKey`
2024-03-08 19:49:29 +00:00
Kris Nuttycombe 48ba51dc78 Add diversifiable `IncomingViewingKey` type. 2024-03-08 12:45:34 -07:00
str4d 953d28204f
Merge pull request #126 from zcash/release-0.1.1
Release 0.1.1
2024-02-15 19:58:23 +00:00
Jack Grigg 4efe3334ee sapling-crypto 0.1.1 2024-02-15 19:42:19 +00:00
Kris Nuttycombe 346a650741
Merge pull request #124 from zcash/121-pad-outputs-if-spends
Fix regression in output padding
2024-02-15 12:36:34 -07:00
Jack Grigg c7d5913a90 Fix regression in output padding
Closes zcash/sapling-crypto#121.
2024-02-12 20:18:01 +00:00
str4d ab3aea55c0
Merge pull request #120 from zcash/release-0.1.0
Release 0.1.0
2024-01-26 20:50:18 +00:00
Jack Grigg b76e7e2509 sapling-crypto 0.1.0 2024-01-26 19:30:42 +00:00
str4d a41c00227d
Merge pull request #119 from zcash/fix-doc-comments
Replace Orchard references in `Anchor` doc comments
2024-01-26 05:26:06 +00:00
Jack Grigg 8505af6e48 Replace Orchard references in `Anchor` doc comments 2024-01-26 03:01:16 +00:00
str4d b693e2e479
Merge pull request #117 from rex4539/typos
Fix typos
2024-01-19 16:43:20 +00:00
Dimitris Apostolou 296868d32d
Fix typos 2024-01-05 12:53:54 +02:00
str4d 4ec6a48daa
Merge pull request #116 from zcash/feature-flag-updates
Feature flag updates
2024-01-03 19:40:26 +00:00
Jack Grigg 49dfc22fde Enable `multicore` feature flag by default
This matches the `orchard` crate.
2024-01-03 18:22:51 +00:00
Jack Grigg 314930e92d Document feature flags 2024-01-03 18:22:44 +00:00
str4d 71711b9e4b
Merge pull request #114 from zcash/sapling_builder_cleanup
A few minor cleanups for consistency with the `orchard` builder API
2024-01-02 19:21:12 +00:00
Kris Nuttycombe 93d369fd0a Apply suggestions from code review
Co-authored-by: str4d <jack@electriccoin.co>
2024-01-02 12:11:51 -07:00
Kris Nuttycombe a3ce3b7628 Make `Bundle::try_map_authorization` work the same as `Bundle::map_authorization` 2024-01-02 12:11:36 -07:00
Kris Nuttycombe ef43105017 Strengthen bounds on `map_authorization` arguments. 2024-01-02 12:11:21 -07:00