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
str4d
75ed8cd806
Merge pull request #348 from jarys/circuit-constructor
...
Add `Circuit::from_action_context` constructor
2022-09-26 15:39:09 +01:00
Tomas Krnak
5fbbded49e
Add `SpendInfo::new` and `Circuit::from_action_context`
...
Author: Tomas Krnak <tomas@krnak.cz>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-09-20 18:52:07 +01:00
Daira Hopwood
47004ee87a
Use math notation for ValueCommit^Orchard
2022-09-19 14:49:16 +01:00
Daira Hopwood
6458e27185
Add minimal test that `Builder::value_balance` works.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-09-19 14:05:46 +01:00
Daira Hopwood
fbfc8f9ed8
Correct the doc comment for the `Builder::value_balance` method added in #352 .
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-09-19 14:05:46 +01:00
Daira Hopwood
f206b3f5d4
Merge pull request #352 from zingolabs/add_value_balance_to_builder
...
add value_balance to builder
2022-09-19 13:20:17 +01:00
Hazel OHearn
8011e0d57a
add value_balance to builder
2022-09-15 16:47:54 -03:00
str4d
4231aa28b2
Merge pull request #343 from zcash/add-proof-to-batch
...
Expose `Proof::add_to_batch` in public API
2022-09-15 20:18:34 +01:00
Kris Nuttycombe
4b83deb240
Merge branch 'main' into add-proof-to-batch
2022-09-15 12:41:02 -06:00
Kris Nuttycombe
b81d0d1198
Merge pull request #344 from zingolabs/publicize_note_and_diversifier_construction
...
Publicize necessary functionality for creating diversifiers and notes from data
2022-09-15 12:39:56 -06:00
Hazel OHearn
0800d23fe7
Publicize diversifier method of Address, fix comments, etc
2022-09-15 14:40:21 -03:00
str4d
d3d51a5b78
Merge pull request #358 from zcash/fix-broken-patch
...
Point patch directive at `zcash/librustzcash`
2022-09-15 17:24:26 +01:00
Jack Grigg
526cbed235
Point patch directive at `zcash/librustzcash`
...
zcash/orchard#357 pointed the patch at the PR branch's repository, which
broke as soon as the PR branch was deleted from that repository.
2022-09-15 16:06:21 +00:00
Daira Hopwood
33f1c1141e
Merge pull request #357 from daira/prepare-epks-and-ivks
...
Dummy implementation of Domain API change for prepared ivk and epk
2022-09-15 03:35:10 +01:00
Daira Hopwood
2ff7ff4a54
Dummy implementation of Domain methods for prepared ivk and epk.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-09-15 03:33:04 +01:00
Tomas Krnak
158f3e6e71
Publicize `ValueCommitment::derive` constructor
2022-08-13 15:35:01 +02:00
Hazel OHearn
22e7ba14a2
Add random_seed getter fn
2022-07-07 11:05:07 -03:00
Hazel OHearn
45bcc16f80
Publicize necessary functionality for reading diversifiers and notes from data
2022-07-05 14:55:44 -03:00
Jack Grigg
63fc2adc0e
Expose `Proof::add_to_batch` in public API
...
This supports downstream users that want more control over how proof
batches are processed, instead of just batch validating Orchard bundles
with `orchard::bundle::BatchValidator`.
2022-07-04 20:05:47 +00:00
str4d
3faab98e9e
Merge pull request #342 from zcash/release-0.2.0
...
Release 0.2.0
2022-06-24 17:23:22 +01:00
Jack Grigg
597f37a869
orchard 0.2.0
2022-06-24 15:37:35 +00:00
Jack Grigg
9cc142ea3b
pprof 0.9
2022-06-24 15:36:19 +00:00
Jack Grigg
5f7f1afd46
Update changelog
2022-06-24 15:36:12 +00:00
str4d
baabe3d7e2
Merge pull request #340 from zingolabs/enable_compact_action_and_orchard_domain_creation_without_action
...
Add OrchardDomain::for_nullifier and CompactAction::from_parts
2022-06-24 16:32:34 +01:00
str4d
1a77930f5f
Merge pull request #341 from zcash/minor-fixes
...
Minor fixes
2022-06-24 00:24:04 +01:00
Jack Grigg
e76a91adff
Document how to obtain inputs for `Builder::add_spend`
...
Closes zcash/orchard#244 .
2022-06-23 22:51:05 +00:00
Jack Grigg
1a1c3c30b0
book: Finish incomplete sentence on nullifier page
...
Closes zcash/orchard#195 .
2022-06-23 22:46:45 +00:00
Jack Grigg
da7358a48c
Fix incorrect namespaces in circuit debug code
...
Closes zcash/orchard#329 .
2022-06-23 22:33:10 +00:00
str4d
6c0532776c
Merge pull request #338 from zcash/batch-validation
...
Add `orchard::bundle::BatchValidator`
2022-06-23 23:10:52 +01:00
str4d
4bed67218a
Add note about relationship between signatures and proofs
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-06-23 22:33:40 +01:00
Jack Grigg
81626b3b28
Add batch-verification of proofs to `orchard::bundle::BatchValidator`
2022-06-23 19:45:42 +00:00
Jack Grigg
35a76f03b8
Add `orchard::bundle::BatchValidator`
...
Adapted from the `BatchValidator` in `zcashd`, that only handles
RedPallas signatures.
2022-06-23 19:45:25 +00:00
str4d
b448f3f4c5
Merge pull request #336 from zcash/halo2_proofs-0.2.0
...
Migrate to `halo2_proofs 0.2.0`
2022-06-23 20:44:47 +01:00
Hazel OHearn
22b77c028f
Remove unneeded generic type from for_nullifier
2022-06-23 16:29:55 -03:00
Jack Grigg
be69324b9c
Migrate to `halo2_proofs 0.2.0`
2022-06-23 19:24:57 +00:00
Hazel OHearn
6956c18d31
Add CompactAction::nullifier getter fn
2022-06-23 16:06:37 -03:00
Hazel OHearn
4e12b4e90a
Add OrchardDomain::for_nullifier and CompactAction::from_parts
2022-06-22 17:41:24 -03:00
Daira Hopwood
8aba4c59fd
Merge pull request #333 from zcash/bosl-copyright
...
Change copyright attribution for the LICENSE-BOSL file
2022-06-17 00:02:50 +01:00