Kris Nuttycombe
ec57d23115
Use const generics to set commitment tree & incremental witness depths.
...
This is in preparation for extraction into the `incrementalmerkletree`
crate, which is not Sapling-specific and therefore cannot hard-code
the depths of these data structures.
2023-05-04 12:16:09 -06:00
Kris Nuttycombe
69430c3da2
Upgrade incrementalmerkletree and use bridgetree crate for `Bridgetree`.
2023-05-04 12:08:38 -06:00
Daira Hopwood
e4f793db35
Merge pull request #833 from str4d/zcash_history-fix-deps
...
zcash_history: Migrate to `primitive-types 0.12`
2023-05-03 17:37:28 +00:00
Jack Grigg
149d7ad83e
zcash_history: Migrate to `primitive-types 0.12`
...
We also disable the default `std` feature, to remove transitive
dependencies we don't use.
2023-05-03 17:55:14 +01:00
Kris Nuttycombe
0d980da3f6
Merge pull request #832 from nuttycom/pin_winnow_dep
...
Pin winnow dependency to avoid MRSV break.
2023-05-03 10:19:52 -06:00
Kris Nuttycombe
730b05510e
Pin winnow dependency to avoid MRSV break.
2023-05-03 08:39:55 -06:00
str4d
8b8cedbdbd
Merge pull request #825 from zcash/dependabot/github_actions/codecov/codecov-action-3.1.3
...
Bump codecov/codecov-action from 3.1.2 to 3.1.3
2023-04-28 12:43:29 +01:00
str4d
581c686b6b
Merge pull request #828 from zcash/zcash_client_backend-0.9
...
`zcash_client_backend 0.9.0`, `zcash_client_sqlite 0.7.0`
2023-04-28 03:28:45 +01:00
Jack Grigg
3db0395e5b
zcash_client_sqlite 0.7.0
2023-04-28 01:47:20 +00:00
Jack Grigg
8b53d4a0c4
zcash_client_backend 0.9.0
2023-04-28 01:46:28 +00:00
Kris Nuttycombe
6f7e22db4a
Merge pull request #826 from nuttycom/wallet/store_change_on_send
...
Store change notes as received for internal transfers.
2023-04-27 18:41:43 -06:00
Kris Nuttycombe
8e8388a9f6
Add migration to enable storage of unmined change notes.
2023-04-27 17:26:11 -06:00
Kris Nuttycombe
fa282695da
Store change notes as received for internal transfers.
2023-04-27 14:41:26 -06:00
Kris Nuttycombe
7abe7ecf89
Merge pull request #827 from nuttycom/cleanup/sapling_naming
...
Remove deprecated APIs & rename Sapling-specific data structures to include "Sapling".
2023-04-27 14:40:23 -06:00
Kris Nuttycombe
f3745c0cb5
Make the internal state of `SentTransactionOutput` private.
2023-04-27 13:07:34 -06:00
Kris Nuttycombe
ac3439e65e
Rename *rewind* to *truncate* in data_api methods.
...
This better reflects the semantics of wallet behavior. Also, this
adds a `zcash_client_backend::WalletRead::get_min_unspent_height`
method that replaces the deprecated & removed (and misleadingly
named) `get_rewind_height` method.
2023-04-27 09:12:07 -06:00
Kris Nuttycombe
7405d0cd69
Make internals of `WalletSaplingSpend` and `WalletSaplingOutput` private.
2023-04-26 14:47:10 -06:00
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
dependabot[bot]
554c712ac8
Bump codecov/codecov-action from 3.1.2 to 3.1.3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.2 to 3.1.3.
- [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.2...v3.1.3 )
---
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-21 05:58:44 +00: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