Commit Graph

1199 Commits

Author SHA1 Message Date
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
Hazel OHearn bf9ff1dae6
Fix changelog 2022-12-07 17:04:06 -04:00
Hazel OHearn 6e8e2734e1
Error -> BuildError, add PartialEq, Eq to SpendError 2022-12-01 17:01:10 -04:00
Hazel OHearn 8c2326cdac
Error -> BuildError 2022-12-01 16:58:26 -04:00
Hazel OHearn 4f27b6bac3
Add concrete error types for add_spend and add_output 2022-12-01 16:51:04 -04:00
Kris Nuttycombe d05b6cee9d
Merge pull request #362 from zcash/batch-scanner-improvements
Batch scanner improvements
2022-10-20 09:30:49 -06:00
ebfull f1d2502d70
Merge pull request #363 from zcash/release-0.3.0
Release of orchard 0.3.0
2022-10-19 12:59:56 -06:00
Sean Bowe a2f4679d23
orchard 0.3.0 2022-10-19 12:44:28 -06:00
Daira Hopwood 8123d896a9
Merge pull request #349 from jarys/value-commit-trapdoor-constructor
Add `ValueCommitTrapdoor::from_bytes` constructor
2022-10-18 21:32:22 +01:00
Daira Hopwood a3af4095ae Add more thorough documentation for `ValueCommitmentTrapdoor::from_bytes`.
Also add a CHANGELOG entry for orchard::value::{ValueCommitmentTrapdoor, ValueCommitment::derive}.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 20:45:54 +01:00
Tomas Krnak d428aa3143 Add `ValueCommitTrapdoor::from_bytes` constructor 2022-10-18 20:36:55 +01:00
Daira Hopwood 591c4b89b9
Merge pull request #351 from jarys/pub-value-commit-derive
Publicize `ValueCommitment::derive` constructor
2022-10-18 20:19:19 +01:00
Kris Nuttycombe 4c9b2096dc Fix beta clippy complaints. 2022-10-18 12:47:18 -06:00
Kris Nuttycombe 7080c37532 Prepare keys only once in decrypt_outputs_with_keys 2022-10-18 12:47:18 -06:00
Daira Hopwood cb1733d6ad Change number of iterations for the compact-note-decryption benchmark
to 10240. This improves the accuracy by ensuring a more even distribution
of more expensive decryptions.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 19:27:56 +01:00
Daira Hopwood 786d285987 Fix a clippy lint.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 19:17:15 +01:00
Daira Hopwood b988d4c275
Fix comment that incorrectly referred to Sapling when Orchard was meant 2022-10-18 02:45:24 +01:00
Jack Grigg 050b2f231e Add `memuse::DynamicUsage` impls for types used for batch scanning 2022-10-15 23:29:06 +00:00
Jack Grigg 0b4d7bc9c6 Migrate note encryption to use prepared w-NAF APIs 2022-10-15 23:27:57 +00:00
str4d 73784af518
Merge pull request #361 from zcash/zcash_note_encryption-0.2
zcash_note_encryption 0.2
2022-10-13 23:04:53 +01:00
Jack Grigg 4035a97d17 zcash_note_encryption 0.2 2022-10-13 21:41:25 +00:00
Kris Nuttycombe 33bce9b567
Merge pull request #359 from daira/add-value-balance-to-builder-docfix
Correct the doc comment and add a test for `Builder::value_balance`
2022-10-10 13:36:35 -06:00