Kris Nuttycombe
bfc5b9a5b3
Parameterize `DecryptedOutput` by note type.
2023-04-26 14:47:10 -06:00
Kris Nuttycombe
55c2de0066
Remove the redundant `WalletSaplingOutput::to` and `DecryptedOutput::to` fields.
2023-04-26 14:47:10 -06:00
Kris Nuttycombe
c15a185454
Remove deprecated APIs & rename Sapling-specific data structures to include "Sapling"
...
This helps to clarify the Sapling-specific nature of a number of
operations in wallet code.
2023-04-26 14:47:10 -06:00
str4d
f293526aa2
Merge pull request #820 from zcash/zcash_address-0.2.1
...
`zcash_address 0.2.1`
2023-04-15 02:45:04 +01:00
Jack Grigg
5f7ccb6d84
zcash_address 0.2.1
2023-04-15 00:51:29 +00:00
str4d
c48633dadc
Merge pull request #819 from zcash/release-0.11.0
...
`zcash_primitives 0.11.0`, `zcash_proofs 0.11.0`, `zcash_client_backend 0.8.0`, `zcash_client_sqlite 0.6.0`
2023-04-15 01:42:24 +01:00
Jack Grigg
adeb19ab40
zcash_client_sqlite 0.6.0
2023-04-15 00:02:00 +00:00
Jack Grigg
4dbb9c01e5
zcash_client_backend 0.8.0
2023-04-15 00:00:40 +00:00
Jack Grigg
4678ff8299
zcash_proofs 0.11.0
2023-04-14 23:58:53 +00:00
Jack Grigg
a419b56e80
zcash_primitives 0.11.0
2023-04-14 23:56:16 +00:00
Jack Grigg
7be5d1bf7d
Update changelogs
2023-04-14 23:49:13 +00:00
Kris Nuttycombe
c6161a1200
Merge pull request #813 from nuttycom/zcash_history_proptest
...
Use proptest instead of quickcheck for zcash_history tests.
2023-04-14 16:59:24 -06:00
Kris Nuttycombe
93a48a9794
Merge pull request #807 from nuttycom/bug/v_transactions_net_value
...
Fix double-entry accounting errors in transaction views.
2023-04-14 16:53:13 -06:00
Kris Nuttycombe
4127e96082
Reduce the size of proptest-generated history trees.
...
After replacing `quickcheck` with `proptest` in `zcash_history`, memory
consumption of the property tests grew substantially as a consequence of
sample generation exploring the upper bounds of sample ranges;
previously, the large operation counts would have occurred only with low
probability. However, the correctness of the operations on the `Tree`
data structure should not depend upon the tree size, so it's fine to
reduce the number of operations in order to bound the memory
consumption. As the documentation on `Tree` notes, this data structure
is not intended to be used stand-alone because doing so may result in
unbounded memory use; the property tests were doing exactly this and so
were producing this exact pathological memory behavior.
2023-04-14 14:31:32 -06:00
Kris Nuttycombe
5511bf3c92
Use `proptest` instead of `quickcheck` for `zcash_history` tests.
2023-04-14 14:31:32 -06:00
Kris Nuttycombe
7d18d1d02a
Adds documentation for the `v_transactions` and `v_tx_outputs` views.
...
This change also settles on `account_value_delta` as the name of the
column in `v_transactions` that describes the transaction's effect on
the value of the associated account.
2023-04-14 14:16:16 -06:00
Kris Nuttycombe
b6fd844505
Fix Rust formatting errors.
2023-04-14 11:08:06 -06:00
str4d
47596b08ff
Merge pull request #810 from zcash/dependabot/github_actions/codecov/codecov-action-3.1.2
...
Bump codecov/codecov-action from 3.1.1 to 3.1.2
2023-04-13 22:25:16 +01:00
Kris Nuttycombe
25b2148604
Account for received utxos in `v_transactions`.
...
Also, rename `v_tx_events` to `v_tx_outputs`.
2023-04-12 15:37:34 -06:00
Kris Nuttycombe
30dfcd79cc
Merge pull request #809 from nuttycom/test/merkle_tree_serialization
...
Add roundtrip and golden tests for v1 `MerkleBridge` serialization.
2023-04-12 13:40:49 -06:00
Kris Nuttycombe
14fe48b540
Merge pull request #812 from zcash/bip0039-0.10
...
zcash_primitives: Downgrade to `bip0039 0.10`
2023-04-12 11:01:02 -06:00
Jack Grigg
edb1941f19
zcash_primitives: Downgrade to `bip0039 0.10`
...
`bip0039 0.11` switched from language function arguments to a generic
parameter. We aren't ready to migrate to this yet.
2023-04-12 16:19:03 +00:00
dependabot[bot]
851bda8612
Bump codecov/codecov-action from 3.1.1 to 3.1.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.1...v3.1.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 05:58:13 +00:00
Kris Nuttycombe
b2139c0b97
Add roundtrip and golden tests for v1 `MerkleBridge` serialization.
2023-04-11 16:45:09 -06:00
Kris Nuttycombe
024c858c8a
Ensure that we don't filter out sent UTXOs that collide with Sapling change output indices.
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2023-04-11 16:21:02 -06:00
Kris Nuttycombe
17827539b3
Fix double-entry accounting errors in transaction views.
2023-04-11 14:59:48 -06:00
Kris Nuttycombe
3ff5fa5288
Merge pull request #793 from zcash/zip32_seed_signature
...
[#792 ] zcash_primitives: implement Seed Signature section of ZIP-32
2023-04-11 12:58:39 -06:00
str4d
f2f99038db
Merge pull request #808 from zcash/orchard-0.4
...
Update dependencies
2023-04-11 19:25:41 +01:00
Jack Grigg
f82866dbb9
Migrate to `bech32 0.9`
2023-04-11 16:01:19 +00:00
Jack Grigg
6b7c62eb22
zcash_client_backend: Migrate to `base64 0.21`
2023-04-11 15:57:16 +00:00
Jack Grigg
3fb66a8aa1
zcash_client_backend: Migrate to `tonic 0.9`
2023-04-11 15:48:44 +00:00
Jack Grigg
43eed3d8f9
zcash_proofs: `directories 5`
2023-04-11 15:48:44 +00:00
Jack Grigg
878f3e9214
zcash_primitives: Migrate to `sha2 0.10`, `bip0039 0.11`
2023-04-11 15:48:44 +00:00
Jack Grigg
d2ccd1f017
zcash_primitives: Migrate to `fpe 0.6`
...
Part of zcash/librustzcash#757 .
2023-04-11 15:48:44 +00:00
Jack Grigg
2fcde5e047
Migrate to `orchard 0.4.0`
...
Closes zcash/librustzcash#766 .
2023-04-11 13:25:17 +00:00
str4d
4f0dd218c3
Merge pull request #805 from upbqdn/use-u64-for-byte_count
...
Fix a theoretical possibility of overflow leading to panic
2023-04-11 13:01:38 +01:00
str4d
47c3159968
Merge pull request #806 from nuttycom/feature/zip_317_sapling_padding
...
Ensure that Sapling padding outputs are taken account in ZIP 317 change computation.
2023-04-10 12:57:31 +01:00
Kris Nuttycombe
f1f63043ca
Ensure that Sapling padding outputs are taken account in ZIP 317 change computation.
...
Fixes #799
2023-04-05 21:39:27 -06:00
Marek
c9f55a4c5d
Use `u64` instead of `usize` for `byte_count`
2023-04-04 18:38:28 +02:00
Kris Nuttycombe
3e54e1def1
Merge pull request #803 from zcash/upgrade/orchard_0.4.0
...
Upgrade orchard patch dependency.
2023-04-03 17:41:56 -06:00
Kris Nuttycombe
4fea57dcac
Upgrade orchard patch dependency.
2023-04-03 16:28:53 -06:00
Francisco Gindre
e3f09ba66a
[ #792 ] zcash_primitives: implement Seed Signature section of ZIP-32
...
Implements a type to enclose a Seed Fingerprint byte sequence
called `SeedFingerprint`
implements a public function to create a `SeedFingerprint` from
seed bytes
Closes #792
Credits for PR Suggestions by Daira and Kris
Edit: Added suggestions from Daira Emma and a test for returning `None`
Added test refactor suggestions as well
removed reference to test vectors
2023-03-30 18:41:57 -03:00
Kris Nuttycombe
fb49cd412f
Merge pull request #801 from nuttycom/upgrade/redjubjub
...
Upgrade to redjubjub 0.7.0
2023-03-30 15:32:59 -06:00
Kris Nuttycombe
fcd6f00396
Upgrade to redjubjub 0.7.0
...
This removes our reliance on the following out-of-date transitive
dependencies that are duplicative of more recent versions of crates
we depend on:
- bls12_381 v0.7
- ff v0.12
- group v0.12
- jubjub v0.9
- pasta_curves v0.4
- reddsa v0.3
2023-03-30 14:53:19 -06:00
Kris Nuttycombe
3d65c481d7
Merge pull request #791 from zcash/dependabot/github_actions/actions/cache-3.3.1
...
Bump actions/cache from 3.2.4 to 3.3.1
2023-03-30 09:46:10 -06:00
Kris Nuttycombe
21ae514e99
Merge pull request #798 from nuttycom/zcash_note_encryption-0.3.0
...
Update zcash_note_encryption changelog for 0.3.0 release.
2023-03-22 10:28:06 -06:00
Kris Nuttycombe
1a27a7f9ce
Update zcash_note_encryption changelog for 0.3.0 release.
2023-03-22 09:54:18 -06:00
Kris Nuttycombe
ca349b62fd
Merge pull request #790 from zcash/sapling/zcash_note_encryption-0.3.0
...
Update zcash_primitives to use zcash_note_encryption 0.3.0
2023-03-21 15:39:05 -06:00
Kris Nuttycombe
d6fafa291b
Update Sapling note encryption for `zcash_note_encryption 0.3.0`
...
Fixes zcash/librustzcash#455
2023-03-21 11:09:38 -06:00
Kris Nuttycombe
169782c672
Merge pull request #797 from zcash/note_encryption_remove_recipient
...
zcash_note_encryption: remove `recipient` parameter from `Domain::note_plaintext_bytes`
2023-03-21 10:44:28 -06:00