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
Jack Grigg
06995064d7
incrementalmerkletree 0.3.0-beta.2
2022-04-06 18:19:39 +00:00
Jack Grigg
3b5fb01218
Migrate to `halo2_proofs 0.1.0-beta.4`
2022-04-06 11:30:39 +00:00
therealyingtong
a0424984c6
Add explicit scoping for viewing keys and addresses
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-03-30 20:49:37 +08:00
Jack Grigg
75aef252d2
orchard 0.1.0-beta.2
2022-03-22 21:29:36 +00:00
Jack Grigg
56a946dafc
halo2_proofs 0.1.0-beta.3
...
The change to the pinned circuit description is due to removing the
unnecessary `selector_map` pin in zcash/halo2#521 . This invalidates
previous proofs due to changing Fiat-Shamir transcript initialization).
2022-03-22 21:29:36 +00:00
Jack Grigg
f983242986
Update changelog
2022-02-28 20:59:55 +00:00
Jack Grigg
eb7a9668aa
Merge branch 'non-consensus-changes-on-branchid-c4cd541e' into merge-non-consensus-changes-2
2022-02-28 20:46:55 +00:00
Kris Nuttycombe
e32a075ef0
Update the incremental merkle tree version and the Rust toolchain.
...
Use derived equality and ordering (which delegate to constant-time
versions) for note::nullifier::Nullifier and tree::MerkleHashOrchard
so that these types can be used as map keys in wallets.
2022-02-24 09:12:12 -07:00
Jack Grigg
28c22718c0
Remove `hash_bundle_txid_data, hash_bundle_auth_data` from API
2022-02-15 23:03:02 +00:00
Jack Grigg
9283002c13
Update changelog
2022-02-15 22:56:01 +00:00
Jack Grigg
2b333d642c
pasta_curves 0.3
...
The MSRV is now 1.54.0, because reddsa 0.2.0 included a fix to its
nightly CI that inadvertently bumped its MSRV.
The `halo2` crate is now the `halo2_proofs` crate, but we're avoiding
the cross-repo crate rename until after `halo2_gadgets` is extracted.
This also brings in the 20% prover performance improvement from
zcash/halo2#447 .
2022-01-28 22:59:59 +08:00
therealyingtong
1b4dfe4f81
Update Changelog.
2022-01-05 22:14:08 +08:00
Jack Grigg
d11fbd4a56
Remove `ValueSum::from_raw`
...
There is no reason for crate users to be constructing `ValueSum`
directly. We no longer use it to represent `valueBalanceOrchard`,
instead requiring the user to specify their own type.
2021-12-20 16:08:44 +00:00
Jack Grigg
e6bbc826ff
Initialize the changelog
2021-01-22 23:57:34 +00:00