Jack Grigg
c0e8ee0fa0
zcash_client_backend: Return UFVKs from `WalletRead` instead of ExtFVKs
2022-06-17 10:03:17 +00:00
Jack Grigg
0d0527dbf3
zcash_client_sqlite: Store UFVK/UA instead of Sapling ExtFVK/address
...
This is a breaking change to the database format. We don't have support
for migrations yet, so existing wallets won't work after this commit
until zcash/librustzcash#489 is done.
2022-06-14 02:18:25 +00:00
Jack Grigg
e86ba927af
zcash_client_backend: Add a fake UFVK encoding
...
We can't use the real ZIP 316 encoding until `UnifiedFullViewingKey` has
been altered to not store a Sapling `ExtendedFullViewingKey`. But making
that change first requires fully migrating `zcash_client_sqlite` in the
same commit (as its entire API is built around `ExtendedFullViewingKey`).
Instead, we define a temporary fake encoding, to enable migrating the
`zcash_client_sqlite` APIs more incrementally.
2022-06-14 02:18:25 +00:00
Jack Grigg
df1105b996
zcash_primitives: Add `DiversifiableFullViewingKey`
2022-06-14 02:18:25 +00:00
str4d
7f59b588be
Merge pull request #568 from zcash/387-unified-address
...
Add `RecipientAddress::Unified`
2022-06-14 00:42:41 +01:00
Jack Grigg
97aee898b2
zcash_client_backend: Box `zip321::parse::Param::Addr`
...
After adding the `RecipientAddress::Unified` enum case, `Param::Addr`
is now much larger than the other `Param` cases. This change reduces the
size of the `Param` enum, fixing a clippy lint.
2022-06-13 23:04:18 +00:00
Jack Grigg
555a621a10
Add `UnifiedAddress` generation to `UnifiedFullViewingKey`
2022-06-13 23:04:18 +00:00
Daira Hopwood
aa0b47f3f1
Merge pull request #567 from zcash/564-zcash_address-parse-against-network
...
zcash_address: Add `ZcashAddress::convert_if_network`
2022-06-13 21:45:01 +01:00
Jack Grigg
ed6016857e
zcash_client_backend: Add `RecipientAddress::Unified`
2022-06-10 17:16:59 +00:00
Jack Grigg
f20366cf86
zcash_client_backend: Migrate `RecipientAddress` to `zcash_address`
2022-06-10 15:49:19 +00:00
Jack Grigg
b8e8a0c491
zcash_address: Add `ZcashAddress::convert_if_network`
...
This, along with the corresponding `TryFromRawAddress` trait, enables
converting `ZcashAddress` into a network-agnostic type.
Closes zcash/librustzcash#564 .
2022-06-10 15:19:42 +00:00
str4d
b6ba216c0f
Merge pull request #565 from zcash/563-zcash_address-parser-errors
...
zcash_address: Replace `FromAddress` with `TryFromAddress`
2022-06-07 20:02:59 +01:00
Jack Grigg
16938d1c4f
zcash_address: Replace `FromAddress` with `TryFromAddress`
...
This enables the user-defined conversions to be fallible, which they
will almost always want to be (as address data needs to be validated
before it can be used).
2022-06-07 18:09:42 +00:00
str4d
73d9395c9d
Merge pull request #559 from nuttycom/autoshielding-poc-merge
...
Legacy SDK helper: Store the original transaction data to the wallet database without parsing roundtrip.
2022-05-25 19:17:07 +01:00
Kris Nuttycombe
23c0f3b2c5
Merge branch 'autoshielding-poc' into autoshielding-poc-merge
2022-05-24 15:08:08 -06:00
Kris Nuttycombe
0a1ed9b8ac
Merge branch 'autoshielding-poc-write-orig' into autoshielding-poc
2022-05-24 14:25:19 -06:00
Kris Nuttycombe
8ef332fed4
Store original transaction data to the wallet database.
2022-05-24 14:10:54 -06:00
Kris Nuttycombe
db2ee0d712
Merge pull request #558 from nuttycom/autoshielding-poc-parse-txv5-merge
...
Ensure that backported support for v5 transaction parsing is available in the history of `master`.
2022-05-23 12:12:56 -06:00
Kris Nuttycombe
8debaa09b8
Merge branch 'autoshielding-poc-parse-txv5' into autoshielding-poc-parse-txv5-merge
2022-05-20 14:34:01 -06:00
Kris Nuttycombe
36dad6282e
Add Orchard bundle parsing & txid calculation
2022-05-20 14:33:10 -06:00
Kris Nuttycombe
1d9dd128b9
Backport V5 txid generation for transactions that don't involve Orchard.
2022-05-20 14:33:10 -06:00
Kris Nuttycombe
5f229e7121
Backport parsing for v5 transactions to TransactionData.
2022-05-20 14:33:10 -06:00
Kris Nuttycombe
63f22ade9f
Merge pull request #555 from zcash/autoshielding-poc-sdk-nu5
...
Backport NU5 branch ID and activation heights for mobile SDKs
2022-05-19 07:48:15 -06:00
Jack Grigg
098dcc2ae0
Backport NU5 branch ID and activation heights for mobile SDKs
...
This enables mobile wallets using versions of the mobile SDKs based on
zcash/librustzcash@8e3e7de50c to send
transactions after NU5 activation. These wallets will however still not
support receiving v5 transactions.
2022-05-19 11:58:12 +00:00
Kris Nuttycombe
8101b1a035
Merge pull request #554 from nuttycom/update_nu5_activation_height
...
Update NU5 mainnet activation height.
2022-05-11 12:56:52 -06:00
Kris Nuttycombe
7bce52f235
Update NU5 mainnet activation height.
2022-05-11 12:22:20 -06:00
str4d
4d282798aa
Merge pull request #553 from zcash/release-0.6.0
...
Release `zcash_primitives 0.6.0` et al
2022-05-11 00:56:09 +01:00
Jack Grigg
c812d36970
zcash_history 0.3.0
2022-05-10 23:33:05 +00:00
Jack Grigg
1161fc963f
zcash_proofs 0.6.0
2022-05-10 23:33:05 +00:00
Jack Grigg
3ecfd26d79
zcash_primitives 0.6.0
2022-05-10 23:33:05 +00:00
Jack Grigg
54e9eb8708
zcash_address 0.1.0
2022-05-10 23:33:05 +00:00
Jack Grigg
6976d3fe85
zcash_encoding 0.1.0
2022-05-10 23:33:05 +00:00
Jack Grigg
a27a5428f0
f4jumble 0.1.0
2022-05-10 23:33:05 +00:00
str4d
4dc0f46c78
Merge pull request #552 from zcash/update-deps
...
Update dependencies
2022-05-11 00:32:47 +01:00
Jack Grigg
9ebbd42401
orchard 0.1
2022-05-10 23:06:31 +00:00
Jack Grigg
c17af47d8f
pprof 0.8
2022-05-10 23:04:48 +00:00
Jack Grigg
a565c7e113
hdwallet 0.3.1
...
This release bumped secp256k1 to 0.21.
2022-05-10 23:00:43 +00:00
str4d
7a1e9fd580
Merge pull request #551 from zcash/sapling-prover-regression-mitigation
...
Sapling prover regression mitigation
2022-05-10 04:42:36 +01:00
Jack Grigg
8c086662df
zcash_proofs: `bellman 0.13`
2022-05-07 03:24:37 +00:00
Jack Grigg
5b3632d9d9
zcash_proofs: Add flamegraph profiling to Sapling Spend benchmark
2022-05-07 03:20:19 +00:00
ebfull
71e2f395d4
Merge pull request #547 from nuttycom/fix_merkle_tree_complete
...
Allow CommitmentTree completeness & auth paths to be computed at arbitrary depths.
2022-05-06 17:42:01 -06:00
str4d
b8dee161e1
Merge pull request #549 from zcash/ff-0.12
...
Migrate to `ff 0.12`
2022-05-06 21:59:39 +01:00
Jack Grigg
144512b547
Migrate to `ff 0.12`
2022-05-06 20:03:49 +00:00
str4d
2e72579bed
Merge pull request #543 from zcash/dependabot/github_actions/codecov/codecov-action-3.1.0
...
Bump codecov/codecov-action from 3.0.0 to 3.1.0
2022-05-06 20:54:10 +01:00
Kris Nuttycombe
a63a37aab2
Allow CommitmentTree completeness & auth paths to be computed at arbitrary depths.
...
Fixes #546
2022-05-06 11:45:06 -06:00
Kris Nuttycombe
4969d81ad3
Add a test for merkle_tree::CommitmentTree::is_complete
2022-05-06 11:44:04 -06:00
ebfull
68cbc2bb17
Merge pull request #545 from nuttycom/feature/wallet_orchard-anchor_depth
...
Update incrementalmerkletree & orchard dependency versions.
2022-05-04 11:06:11 -06:00
Kris Nuttycombe
073d939859
Add `Vector::read_collected_mut` and `Array::read_collected_mut`
...
These variants allow parsing to be informed by additional
mutable external state.
2022-05-04 09:25:07 -06:00
Kris Nuttycombe
8bb1962153
Update incrementalmerkletree version and add SER_V2 serialization constant.
2022-05-04 09:25:07 -06:00
Kris Nuttycombe
41b90bd80a
Merge pull request #542 from zcash/dependabot/github_actions/actions/cache-3.0.2
...
Bump actions/cache from 3.0.1 to 3.0.2
2022-05-04 08:56:47 -06:00