Commit Graph

330 Commits

Author SHA1 Message Date
Jack Grigg 6ead8f8074
Merge pull request #1677 from zcash/protobuf-updates
Updates to Protobuf generation dependencies
2024-12-30 19:48:50 +00:00
Jack Grigg 919cb286d1 Migrate to `prost-build 0.13.4` 2024-12-30 18:29:04 +00:00
Jack Grigg 30f2e7a1fc zcash_client_backend: Migrate to `tonic-build 0.12.3` 2024-12-30 18:12:45 +00:00
Kris Nuttycombe f6c05345f4 Remove internal use of reexports of types have been moved to other crates.
This commit temporarily removes the reexported types to simplify the
removal process; the reexports will be reintroduced with deprecation
annotations in the subsequent commit.
2024-12-20 10:35:10 -07:00
Kris Nuttycombe fad7f38b9a Migrate to `nonempty 0.11` 2024-12-17 09:05:11 -07:00
Kris Nuttycombe b90f1463bc zcash_keys: Enable `no_std` usage via a default-enabled `std` feature. 2024-12-17 05:10:56 +00:00
Kris Nuttycombe 04c331cb5d Release zcash_client_sqlite version 0.14.0 2024-12-16 21:55:14 -07:00
Kris Nuttycombe ebd2d3abec Release zcash_client_backend version 0.16.0 2024-12-16 21:55:14 -07:00
Kris Nuttycombe a59773faee Release pczt version 0.1.0 2024-12-16 21:55:14 -07:00
Kris Nuttycombe 8c42a69bb5 Release zcash_proofs version 0.21.0 2024-12-16 21:55:14 -07:00
Kris Nuttycombe 0f78b4f9c4 Release zcash_primitives version 0.21.0 2024-12-16 21:55:14 -07:00
Kris Nuttycombe f23e478b99 Release `zcash_keys` version `0.6.0` 2024-12-16 21:55:14 -07:00
Kris Nuttycombe 2f33e1e0d9 Release `zcash_transparent` version 0.1.0 2024-12-16 21:23:24 -07:00
Kris Nuttycombe a5690007df Update to orchard version 0.10.1 2024-12-16 21:23:24 -07:00
Kris Nuttycombe d83076dcfc Migrate to sapling-crypto version 0.4 2024-12-16 21:23:24 -07:00
Kris Nuttycombe a5bfc5e36d Release zcash_protocol version 0.4.3 2024-12-16 20:35:05 -07:00
Kris Nuttycombe 1d8ba3dc0c zcash_keys: Prepare for `no_std` usage. 2024-12-16 15:26:28 -07:00
Jack Grigg 7bff034c59 zcash_transparent: Fix its dependencies to work with no-std 2024-12-16 11:16:01 +00:00
Kris Nuttycombe b5b1225335 Implement `no_std` support for `zcash_transparent` 2024-12-15 13:49:24 -07:00
Kris Nuttycombe b1962ac396 Remove `zcash_keys` dependency on `zcash_primitives`. 2024-12-15 13:26:00 -07:00
Jack Grigg e4915f99c4 zcash_transparent: Refactor code so it compiles in its new crate 2024-12-15 13:25:43 -07:00
Jack Grigg 1a3eeab703 Move transparent protocol code into `zcash_transparent`
Move-only on the relevant files; things are currently broken.
2024-12-15 09:54:48 +00:00
Jack Grigg ff5ec14f58 zcash_transparent: Initial empty crate 2024-12-14 12:48:29 +00:00
Jack Grigg fb163a3d1d zcash_address 0.6.2 2024-12-13 20:56:40 +00:00
Jack Grigg d660a77174 f4jumble 0.1.1 2024-12-13 20:54:30 +00:00
Jack Grigg 61cf34a708 zcash_address 0.6.1 2024-12-13 20:22:50 +00:00
Jack Grigg cf05139913 Migrate to `bech32 0.11`
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 20:22:50 +00:00
Jack Grigg b61652e6fe zcash_address: Remove serde implementation for `ZcashAddress`
We only needed it for `zcash_client_backend` to encode recipient
addresses inside proprietary fields of PCZTs, but now that we are
explicitly encoding them as strings, it is not necessary.

Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 20:22:50 +00:00
Jack Grigg 2defe78830 zcash_address: Only require `alloc` instead of `std`
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 20:22:50 +00:00
Jack Grigg 3d1e32211d pczt: Add output field for storing the user-facing address
This is necessary in order for Signers to display the address encoding
that a user is expecting to confirm.

Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 18:29:45 +00:00
Jack Grigg 4d301c33ae zcash_encoding 0.2.2 2024-12-13 16:43:39 +00:00
Jack Grigg f6fe568289 zcash_encoding: Only require `alloc` instead of `std` 2024-12-13 16:43:25 +00:00
Jack Grigg b04cf09fcb zcash_protocol 0.4.2 2024-12-13 15:38:59 +00:00
Jack Grigg f97f6fa8b3 pczt: Add a Verifier role
This isn't a real role per se; it's instead a way for accessing the
parsed protocol-specific bundles for individual access and verification.
2024-12-13 00:21:20 +00:00
Jack Grigg 09951427bd zcash_client_sqlite: Add serde derives to `AccountUuid`
This enables PCZTs to be used when the `serde` feature flag is enabled.
2024-12-09 10:11:19 -07:00
Kris Nuttycombe 00af032b12 zcash_client_backend: Add support for PCZT construction from a Proposal Step.
Proving and signing don't require specific wallet methods; the
`Prover` and `Signer` roles provide the necessary functionality.

Co-authored by: Jack Grigg <jack@electriccoin.co>
2024-12-09 10:11:19 -07:00
Kris Nuttycombe 7072adb605 zcash_address: Add `serde` implementation for `ZcashAddress`
This uses the existing String encoding to avoid defining a new
serialization format. It is necessary for `zcash_client_backend` to
encode recipient addresses inside PCZTs to enable correct extraction and
and storage in the wallet backend.
2024-12-09 10:11:19 -07:00
Jack Grigg 713c96bff4 zcash_primitives: Provide Sapling extsks at build instead of spend add 2024-12-09 10:11:19 -07:00
Kris Nuttycombe 9b6276bb55 pczt: Add getters for some of the unparsed PCZT fields
These enable accessing all of the proprietary fields, as well as a few
other fields necessary for `zcash_client_backend`.
2024-12-07 06:56:07 +00:00
Jack Grigg b8a007543a pczt: Add the Updater role 2024-12-07 06:56:07 +00:00
Jack Grigg 890db27e76 pczt: Encode as header-prefixed Postcard 2024-12-07 06:56:07 +00:00
Jack Grigg 428b74f5a4 pczt: Add end-to-end integration tests 2024-12-07 06:56:07 +00:00
Jack Grigg ebacc0a8b8 pczt: Migrate to the protocol-specific PCZT impls 2024-12-07 06:56:07 +00:00
Jack Grigg 4a9f29d2c3 zcash_primitives: Implement transparent PCZT support 2024-12-07 06:56:07 +00:00
Jack Grigg 8df6fce948 pczt: Add the IO Finalizer role 2024-12-07 06:56:07 +00:00
Jack Grigg 1a185afa06 pczt: Add fields necessary for creating proofs 2024-12-07 06:54:41 +00:00
Jack Grigg 8766c51142 pczt: Add fields necessary for signing shielded spends 2024-12-07 06:54:41 +00:00
Jack Grigg 7f4db09781 pczt: Create structure that can be converted into a v5 transaction 2024-12-07 06:54:41 +00:00
Jack Grigg fd5bb46985 zcash_client_sqlite: Add a `uuid` column to the `accounts` table 2024-11-23 05:49:17 +00:00
Kris Nuttycombe 484d0ef571 Release zcash_client_sqlite 0.13.0 2024-11-14 16:34:11 -07:00