Commit Graph

210 Commits

Author SHA1 Message Date
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
Jack Grigg 5d16a637c4 Migrate to `shardtree` revision without `incrementalmerkletree` path pin 2024-10-02 19:07:05 +00:00
Jack Grigg cfaab71cf1 Migrate to `sapling-crypto 0.3`, `orchard 0.10` 2024-10-02 18:52:06 +00:00
Kris Nuttycombe 4647d88a05 Update to pre-release of `shardtree 0.5` changes. 2024-09-27 11:41:26 -06:00
Kris Nuttycombe 176c0cb805 Update base64 to 0.22 to eliminate duplicate dependency. 2024-09-20 16:42:04 -06:00
Jack Grigg f7228a5c01
Merge pull request #1528 from nuttycom/fix/zip321-test-dependencies
zip321: Add missing `test-dependencies` feature configuration.
2024-09-16 21:12:57 +01:00
Kris Nuttycombe 80902faff1 Suppress warnings for unexpected `zcash_unstable` cfg 2024-09-16 19:16:12 +00:00
Kris Nuttycombe 0ae5ac1a99 zcash_client_backend: Make `data_api` traits delegatable via `ambassador` for testing. 2024-09-05 14:04:13 -06:00
Kris Nuttycombe df0679fd88 release zcash_proofs version 0.17.0 2024-08-26 16:40:44 -06:00
Kris Nuttycombe 70e6121841 Release zcash_primitives version 0.17.0 2024-08-26 16:22:19 -06:00
Kris Nuttycombe 5dcda49810 release zcash_address version 0.5.0 2024-08-26 16:11:29 -06:00
Kris Nuttycombe a30037be81 Release zcash_protocol version 0.3.0 2024-08-26 15:59:35 -06:00
Kris Nuttycombe d9fa772665 release zcash_client_backend version 0.13.0 2024-08-20 08:00:05 -06:00
Kris Nuttycombe c1532093b4
Merge pull request #1472 from zcash/zcb-tor-grpc
zcash_client_backend: Add `tor::Client::connect_to_lightwalletd`
2024-08-20 07:59:22 -06:00
Kris Nuttycombe 827192ebcb release zip321 version 0.1.0 2024-08-19 19:37:46 -06:00
Kris Nuttycombe 555900689f release zcash_keys version 0.3.0 2024-08-19 19:24:07 -06:00
Kris Nuttycombe 97c4a76c2d release zcash_proofs version 0.16.0 2024-08-19 19:03:28 -06:00
Kris Nuttycombe 68788e4f2e zcash_primitives release version 0.16.0 2024-08-19 18:44:36 -06:00
Kris Nuttycombe 0e803a73c9 release zcash_address version 0.4.0 2024-08-19 16:24:03 -06:00
Kris Nuttycombe d3ab6fb1ae zcash_protocol release version 0.2.0 2024-08-19 14:36:11 -06:00
Kris Nuttycombe 12752cbcd6 zcash_primitivies: Update zcash-specific dependencies.
* sapling-crypto 0.2
* orchard 0.9
* incrementalmerketree 0.6
* shardtree 0.4
2024-08-13 16:58:58 -06:00
Jack Grigg 6449e5c54f zcash_client_backend: Add `tor::Client::connect_to_lightwalletd`
Closes zcash/librustzcash#1471.
2024-07-29 23:32:06 +00:00
Jack Grigg 8f26eb9de4 devtools: Integrate `zcash-inspect` into workspace 2024-07-22 13:56:59 +00:00
Jack Grigg 739e878c8b zcash_client_backend: Add USD/ZEC exchange rate querying over Tor
This fetches price data from multiple exchanges over Tor, and takes the
median of the successful responses.

Closes zcash/librustzcash#1416.
2024-07-18 17:53:58 +00:00
Jack Grigg b3de2ab81b zcash_client_backend: Add internal HTTP GET support to `tor::Client` 2024-07-18 01:25:17 +00:00