Kris Nuttycombe
ff7287e392
Add `impl subtle::ConstantTimeEq for note::Nullifier`
2024-02-23 22:06:10 -07:00
Jack Grigg
23ce468715
orchard 0.7.0
2024-01-26 19:34:25 +00:00
Jack Grigg
a55fbf1fda
Use the `zip32::Scope` type
2024-01-26 03:05:42 +00:00
Jack Grigg
68290a1a58
Migrate to `zip32 0.1`
...
Closes zcash/orchard#410 .
2024-01-10 22:45:11 +00:00
Jack Grigg
21cff6bb9d
Clean up changelog
2024-01-10 22:44:42 +00:00
Kris Nuttycombe
b60ef5c7ea
Return bundle metadata from bundle building.
...
In order to be able to associate requested spends and outputs with the
indices of the actions that execute these operations, it is necessary to
track the randomization of inputs and outputs and return the mappings
that resulted from that shuffling.
2024-01-09 14:09:05 -07:00
Kris Nuttycombe
ba70c32c28
Merge pull request #409 from zcash/required_bundles
...
Modify `BundleType` to exclude the anchor & allow no bundle to be produced.
2023-12-21 08:16:32 -07:00
Kris Nuttycombe
189257391a
Expose `Anchor::empty_tree`.
2023-12-20 20:25:06 -07:00
str4d
a5948cd778
Fix path to `orchard::note::Nullifier` in CHANGELOG.md
2023-12-20 00:56:26 +00:00
Daira Emma Hopwood
71d9ddd637
Move some changelog entries from 0.3.0 to 0.4.0.
...
The changelog changes in #362 had a non-merge conflict with #363 ,
because #362 was implemented as if it would be part of the 0.3.0
release but was in fact merged just afterwards.
fixes #391
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-20 00:21:57 +00:00
Daira Emma Hopwood
ac4b52187f
Switch to MIT or Apache 2.0 licensing.
...
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-19 21:35:25 +00:00
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