Commit Graph

234 Commits

Author SHA1 Message Date
Jack Grigg 30f2e7a1fc zcash_client_backend: Migrate to `tonic-build 0.12.3` 2024-12-30 18:12:45 +00: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 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 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
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 cf05139913 Migrate to `bech32 0.11`
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 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
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
Jack Grigg 713c96bff4 zcash_primitives: Provide Sapling extsks at build instead of spend add 2024-12-09 10:11:19 -07:00
Jack Grigg b8a007543a pczt: Add the Updater role 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 7f4db09781 pczt: Create structure that can be converted into a v5 transaction 2024-12-07 06:54:41 +00:00
Kris Nuttycombe 941392813f Release zcash_client_backend version 0.15.0 2024-11-14 16:33:36 -07:00
Kris Nuttycombe 4720f62a43 Release zcash_keys version 0.5.0 2024-11-14 16:04:53 -07:00
Kris Nuttycombe d904e86b79 Release zcash_proofs version 0.20.0 2024-11-14 16:02:39 -07:00
Kris Nuttycombe df0a42ef88 Release zcash_primitives version 0.20.0 2024-11-14 16:00:56 -07:00
Kris Nuttycombe a1511cbb68 Release zcash_protocol version 0.4.1
This reverts the MSRV update for the `zcash_protocol` crate; no
MSRV-breaking changes have been made, and retaining the 1.70 MSRV allows
us to make this a semver-compatible release.
2024-11-14 11:23:58 -07:00
Daira-Emma Hopwood 9d1c898355 Since we have many computationally expensive tests, this changes the test
profile to compile with optimizations by default, but keep full debug info.

This differs from the release profile in the following ways:
- it does not set `lto = true`, which increases compile times without
  substantially speeding up tests;
- it does not set `codegen-units = 1`, which increases compile times and
  is only useful to improve determinism of release builds;
- it does not set `panic = 'abort'`, which is in any case ignored for
  tests.

After this PR, to get results as close as possible to a release build, use
`cargo test --release`.

To speed up compilation and avoid optimizations potentially resulting in
lower-quality debug info, use `cargo test --profile=dev`.

Times on my machine starting from `cargo clean` for each run:
* `cargo test --all-targets --all-features`:
  * 484s (354s build, 130s tests)
* `cargo test --release --all-targets --all-features`:
  * 541s (415s build, 126s tests)
* `cargo test --profile=dev --all-targets --all-features`:
  * 1709s (146s build, 1563s tests)
  * this might still be faster when running individual tests.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-11-02 18:35:12 +00:00
Jack Grigg f347dc52b3 zcash_client_backend: Switch from `async-trait` to RPIT
RPIT (return-position `impl Trait`) was stabilized in Rust 1.75, and the
`dynosaur` crate providing dynamic dispatch support was published two
weeks ago. Now that our MSRV is 1.77, we can use both of these.
2024-10-26 05:12:08 +00:00
Jack Grigg 2ecf7ab2d8 Migrate to `rusqlite 0.32` 2024-10-18 22:41:52 +00:00
Jack Grigg ad9d202071 Bump MSRV to 1.77 2024-10-18 22:10:40 +00:00
Jack Grigg 8ff0b1a263 Migrate to `rusqlite 0.31` 2024-10-17 21:05:48 +00:00
Jack Grigg 736731320a Migrate to `rusqlite 0.30` 2024-10-17 21:04:02 +00:00
Jack Grigg 2c5e198586 zcash_client_sqlite: Migrate to `schemerz 0.2` 2024-10-17 20:22:08 +00:00
Jack Grigg 6fa96f6917 zcash_client_sqlite: Migrate from `schemer` to `schemerz` 2024-10-15 23:40:50 +00:00
Jack Grigg 5eb2214631 pczt: Empty library crate 2024-10-08 03:45:36 +00:00
Kris Nuttycombe 5759ac7e92 Release zcash_client_backend version 0.14.0 2024-10-04 12:36:53 -06:00
Kris Nuttycombe 0eec7487d8 Release `zip321` version 0.2.0 2024-10-04 12:36:53 -06:00
Kris Nuttycombe 739b9f9c9b Release zcash_keys version 0.4.0 2024-10-04 11:59:34 -06:00
Jack Grigg aa4205cf0d zcash_proofs 0.19.0 2024-10-02 21:15:08 +00:00
Jack Grigg c36c408181 zcash_primitives 0.19.0 2024-10-02 21:14:25 +00:00
Jack Grigg 6ee2ddfc97 zcash_address 0.6.0 2024-10-02 21:12:45 +00:00
Jack Grigg 73c40fd234 zcash_proofs 0.18.0 2024-10-02 20:12:32 +00:00
Jack Grigg fa73e4c04b zcash_primitives 0.18.0 2024-10-02 20:12:02 +00:00
Jack Grigg e5185e2896 zcash_protocol 0.4.0 2024-10-02 20:11:31 +00:00