Kris Nuttycombe
2e2c161d52
Add a public bundle construction function & use it in the builder.
2023-12-18 21:56:42 -07:00
Kris Nuttycombe
0a257d6f68
Add explicit control of padding to the Builder API.
2023-12-15 15:08:22 -07:00
Kris Nuttycombe
06cb76168e
Rename `Builder::add_recipient` to `add_output`.
...
The term `recipient` is commonly used to refer to the address to which a
note is sent; however, a bundle may include multiple outputs to the same
recipient. This change is intended to clarify this usage.
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-14 15:56:42 -07:00
Jack Grigg
bb6e3afc08
orchard 0.6.0
2023-09-08 17:52:14 +00:00
Jack Grigg
7fa0edbd98
Bump MSRV to 1.65
...
`reddsa 0.5.1` has MSRV 1.65.
2023-09-08 17:52:14 +00:00
Jack Grigg
213b11a7ad
Migrate to published `incrementalmerkletree 0.5`
2023-09-08 17:16:42 +00:00
Kris Nuttycombe
ca55cadbad
orchard release version 0.5.0
2023-06-06 11:10:49 -06:00
Jack Grigg
63ab47ecc9
orchard 0.4.0
2023-04-11 09:00:17 +00: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
bbc4ee11f1
Use released version of zcash_note_encryption 0.3.0
2023-03-22 10:32:44 -06:00
Kris Nuttycombe
dca33119b4
Migrate to zcash_note_encryption 0.3.0
2023-03-21 10:48:47 -06: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
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
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
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
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
Sean Bowe
a2f4679d23
orchard 0.3.0
2022-10-19 12:44:28 -06: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
Kris Nuttycombe
4c9b2096dc
Fix beta clippy complaints.
2022-10-18 12:47:18 -06: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
Jack Grigg
4035a97d17
zcash_note_encryption 0.2
2022-10-13 21:41:25 +00: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
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
Kris Nuttycombe
4b83deb240
Merge branch 'main' into add-proof-to-batch
2022-09-15 12:41:02 -06:00
Hazel OHearn
0800d23fe7
Publicize diversifier method of Address, fix comments, etc
2022-09-15 14:40:21 -03: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
Jack Grigg
597f37a869
orchard 0.2.0
2022-06-24 15:37:35 +00:00
Jack Grigg
5f7f1afd46
Update changelog
2022-06-24 15:36:12 +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
Jack Grigg
be69324b9c
Migrate to `halo2_proofs 0.2.0`
2022-06-23 19:24:57 +00:00
Jack Grigg
a412148865
orchard 0.1.0
...
Closes zcash/orchard#232 .
2022-05-10 22:51:55 +00:00
Jack Grigg
e2eb75c869
reddsa 0.3
2022-05-10 22:51:33 +00:00
Jack Grigg
e2c24fcd5c
halo2_proofs 0.1
2022-05-10 22:44:53 +00:00
Jack Grigg
82bd5a5446
incrementalmerkletree 0.3
2022-05-10 22:23:41 +00:00
Jack Grigg
706cee42f5
Migrate to `ff 0.12`
2022-05-05 17:15:03 +00:00
Jack Grigg
70b6eb3623
Simplify witness synthesis for `v_net`
...
`NoteValue - NoteValue` is always guaranteed to produce a valid
`ValueSum`, so we make that infallible and introduce a new helper method
`ValueSum::magnitude_sign` that we use for circuit synthesis.
2022-04-29 20:03:17 +00:00
Jack Grigg
200c366ea4
Rename `Bundle::{try_}authorize` to `Bundle::{try_}map_authorization`
...
Closes zcash/orchard#71 .
2022-04-29 00:16:16 +00:00
Jack Grigg
5c5c999439
Move `orchard::bundle::Action` to its own module
...
The `Bundle` struct is variable in size and requires allocations, but
`Action` is not. This split will make it cleaner to disable the bundle
logic for no-std support.
2022-04-28 22:59:07 +00:00
Jack Grigg
30f9452743
Replace unnecessary usage of `std::io`
2022-04-28 20:45:05 +00:00
Jack Grigg
c39b6a5b7d
orchard 0.1.0-beta.3
2022-04-06 20:29:56 +00:00