Commit Graph

1220 Commits

Author SHA1 Message Date
Kris Nuttycombe 082c8de59c Add kdf_personalized to OrchardDomain 2023-06-16 17:30:32 -06:00
Kris Nuttycombe 2103db8290
Merge pull request #397 from zcash/release-0.5.0
orchard release version 0.5.0
2023-06-06 12:23:12 -06:00
Kris Nuttycombe ca55cadbad orchard release version 0.5.0 2023-06-06 11:10:49 -06:00
Kris Nuttycombe e9f556ead4
Merge pull request #396 from zcash/simplify_parse_note_plaintext_ovk_args
Update `zcash_note_encryption` to remove unused arguments from `parse_note_plaintext_without_memo_ovk`
2023-05-31 12:54:40 -06:00
Kris Nuttycombe 2a4f27c937 Update `zcash_note_encryption` to remove unused arguments from parse_note_plaintext_without_memo_ovk. 2023-05-26 09:28:01 -06:00
Kris Nuttycombe 729def6c60
Merge pull request #394 from zcash/note-encryption-avoid-redundant-checks
Remove redundant checks during note encryption
2023-05-26 09:13:20 -06:00
Kris Nuttycombe 11b6858ac8
Merge pull request #395 from nuttycom/update_bridgetree
Update the `incrementalmerkletree` and `bridgetree` patch versions.
2023-05-25 11:38:40 -06:00
str4d f4a785adae
Merge pull request #393 from daira/book-notecommit-missing-paren
[book] Add a missing right parenthesis
2023-05-24 23:24:47 +01:00
Kris Nuttycombe 6cf6f15bf1 Update the `incrementalmerkletree` and `bridgetree` patch versions.
This also removes the `bridgetree` transitive dependency when building
using the `test-dependencies` feature flag, as the only use of it can be
satisfied just with `incrementalmerkletree`.
2023-05-24 15:36:25 -06:00
Jack Grigg 90e64cbac0 Remove redundant checks during note encryption
The consistency check between `esk` and `ephemeral_key` is checked
inside `zcash_note_encryption::try_output_recovery_with_ock`, and the
requirement to check it inside the `Domain` implementation is being
lifted in zcash/librustzcash#848.

Removing the check here improves performance, both because we avoid an
extra scalar multiplication from `esk.derive_public()`, and because we
avoid an unnecessary `spec::diversify_hash()` call which is expensive
for Orchard.
2023-05-19 16:43:17 +00:00
Daira Emma Hopwood a38bc537c9 [book] Add a missing right parenthesis. fixes #392
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-05-02 14:53:09 +01:00
Kris Nuttycombe 3619b86d1c
Merge pull request #373 from nuttycom/update_incrementalmerkletree
Update to development versions of incrementalmerkletree/bridgetree
2023-04-12 14:16:38 -06:00
Kris Nuttycombe 8bc53ecbde Update to development versions of incrementalmerkletree/bridgetree
This modifies the tests where required to use bridgetree checkpoint
identifiers.
2023-04-11 10:33:25 -06:00
str4d 7d4aa67eaa
Merge pull request #390 from zcash/release-0.4.0
Release 0.4.0
2023-04-11 14:02:47 +01:00
Jack Grigg 63ab47ecc9 orchard 0.4.0 2023-04-11 09:00:17 +00:00
Kris Nuttycombe b40a12f1ff
Merge pull request #389 from zcash/368-fix-variable-name
Fix variable name in `spec::diversify_hash`
2023-04-10 19:06:06 -06:00
Jack Grigg a65018f93c Fix variable name in `spec::diversify_hash`
Closes zcash/orchard#368.
2023-04-11 00:23:33 +00:00
Kris Nuttycombe d612d0454c
Merge pull request #388 from zcash/369-fpe-0.6
Migrate to `fpe 0.6`
2023-04-10 17:33:58 -06:00
Jack Grigg 955681b1f7 Migrate to `fpe 0.6`
Closes zcash/orchard#369.
2023-04-10 22:49:40 +00:00
Kris Nuttycombe 047201dafd
Merge pull request #387 from nuttycom/upgrade/incrementalmerkletree_0.3.1
Upgrade `incrementalmerkletree` dependency to version 0.3.1
2023-04-05 10:00:51 -06:00
Kris Nuttycombe 8f452540d4 Upgrade `incrementalmerkletree` dependency to version 0.3.1
Fixes #375
2023-04-05 09:38:11 -06:00
Kris Nuttycombe bdcf15ba21
Merge pull request #385 from nuttycom/upgrade/halo2_0.3.0
Update to halo2_proofs and halo2_gadgets v0.3.0
2023-03-22 13:28:36 -06:00
Kris Nuttycombe feedd693dd Update to halo2_proofs and halo2_gadgets v0.3.0
Fixes #376
2023-03-22 13:11:28 -06:00
Kris Nuttycombe 97d12603d9
Merge pull request #384 from nuttycom/use_zcash_not_encryption-0.3.0-final
Use released version of zcash_note_encryption 0.3.0
2023-03-22 11:28:27 -06:00
Kris Nuttycombe bbc4ee11f1 Use released version of zcash_note_encryption 0.3.0 2023-03-22 10:32:44 -06:00
Kris Nuttycombe 8ecef22dda
Merge pull request #379 from zcash/note_encryption_remove_recipient
Migrate to zcash_note_encryption 0.3.0
2023-03-21 15:23:04 -06:00
Kris Nuttycombe dca33119b4 Migrate to zcash_note_encryption 0.3.0 2023-03-21 10:48:47 -06:00
Kris Nuttycombe 6cbde279e9
Merge pull request #383 from nuttycom/fix/remove_batch_feature
Remove the `halo2-batch` feature flag and rename `halo2-multicore` to just `multicore`
2023-03-20 13:47:08 -06:00
Kris Nuttycombe 46d6766104 Remove the `halo2-batch` feature flag and rename `halo2-multicore` to just `multicore`. 2023-03-20 13:27:01 -06:00
Kris Nuttycombe 7a7f3ec7e7
Merge pull request #382 from nuttycom/upgrade_halo2_patch_dependency
Upgrade patch version of halo2 dependencies.
2023-03-20 13:21:53 -06:00
Kris Nuttycombe a7c438ef0b Upgrade patch version of halo2 dependencies.
Update to make use of the floor-planner-v1-legacy-pdqsort feature.
2023-03-20 13:21:03 -06:00
Kris Nuttycombe bb2212206c Fix halo2_proofs features for wasm32 build & add ci for wasm build.
Co-authored-by: Greg Pfeil <greg@technomadic.org>
2023-03-20 13:19:43 -06:00
Daira Hopwood 61a67f018f
Merge pull request #380 from nuttycom/cleanup/fix_lints
Fix clippy beta lints that are applicable given an MSRV of 1.60
2023-03-10 23:23:18 +00:00
Kris Nuttycombe e9a2de7d97 Fix `cargo doc` complaints. 2023-03-10 14:26:07 -07:00
Kris Nuttycombe cf526f59e2 Fix clippy beta lints that are applicable given an MSRV of 1.60 2023-03-10 14:23:06 -07:00
Kris Nuttycombe 0bc40d8c70
Merge pull request #377 from zcash/ff-0.13
Migrate to `ff 0.13`
2023-03-09 15:05:07 -07:00
Jack Grigg 3beea4adb7 Migrate to `ff 0.13`
Closes zcash/orchard#371.
2023-03-09 21:14:41 +00:00
Jack Grigg 0f123ca707 Bump MSRV to 1.60 2023-03-09 21:14:41 +00:00
Kris Nuttycombe e2bfd99454
Merge pull request #365 from zingolabs/add_spends_and_outputs_getters_to_builder
Add spends/outputs getter fns to builders for use in change calculation
2023-01-03 14:57:06 -07:00
Gygaxis Vainhardt b64d6ba01e
Update src/builder.rs
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2023-01-03 17:34:28 -04:00
Kris Nuttycombe 54b6e7437a
Merge pull request #367 from rex4539/typos
Fix typo
2023-01-03 12:46:31 -07:00
Dimitris Apostolou 1f13327479
Fix typo 2022-12-31 13:19:43 +02:00
Gygaxis Vainhardt cd8a39bd0c
Format comments
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2022-12-09 13:38:06 -04:00
Hazel OHearn c34632746f
fix changelog additions 2022-12-09 13:38:04 -04:00
Hazel OHearn 13d0d5592c
Add spends/outputs getter fns to builders for use in change calculation 2022-12-09 13:37:26 -04:00
Kris Nuttycombe 06cea3fa53
Merge pull request #366 from zingolabs/add_concrete_errors_for_spend_and_output_construction
Add concrete error types for add_spend and add_output
2022-12-08 14:19:32 -07:00
Hazel OHearn e466d7b523
Add Display and Error impls for error types 2022-12-08 16:58:30 -04:00
Gygaxis Vainhardt 4296860a86
Partially apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2022-12-08 16:36:54 -04:00
Gygaxis Vainhardt 938b122814
Replace type alias with zero-size struct
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-12-08 16:35:49 -04:00
Hazel OHearn 9807e325d7
Fix changelog 2022-12-08 11:00:50 -04:00