Commit Graph

3783 Commits

Author SHA1 Message Date
Jack Grigg e4c51c30f6 CI: Add explicit token to GitHub CLI usage 2024-04-26 20:08:20 +00:00
str4d 081be32443
Merge pull request #1375 from zcash/trigger-audit-aggregation
CI: Add workflow to automatically trigger audit aggregation
2024-04-26 21:05:51 +01:00
Jack Grigg c2ed829ec5 CI: Add workflow to automatically trigger audit aggregation 2024-04-26 19:15:33 +00:00
Kris Nuttycombe 895afe51f7
Merge pull request #1359 from zcash/cargo-audits
Set up Cargo audit infrastructure
2024-04-23 11:51:16 -06:00
Jack Grigg 069109b691 Adjust versions of pinned dependencies to cover more audits 2024-04-23 00:57:08 +00:00
Jack Grigg 011909d609 CI: Add audit check for `cargo deny check licenses` 2024-04-23 00:34:03 +00:00
Jack Grigg 66f11ce29f Add config file for `cargo deny check licenses`
Most of the config is copied from `zcash/zcash`, but with a few extra
license exceptions due to the `download-params` feature of
`zcash_proofs` and the `lightwalletd-tonic-transport` feature of
`zcash_client_backend`.
2024-04-23 00:32:49 +00:00
Jack Grigg 08cd7e20bd CI: Add audit check for `cargo vet` 2024-04-23 00:31:02 +00:00
Jack Grigg e574c27755 Import Rust crate audits from Fermyon 2024-04-23 00:08:48 +00:00
Jack Grigg 846d9860f1 Import Rust crate audits from Embark Studios 2024-04-23 00:08:48 +00:00
Jack Grigg 03627b1de5 Import Rust crate audits from the Bytecode Alliance 2024-04-23 00:08:48 +00:00
Jack Grigg d99edccaa3 Import Rust crate audits from ISRG 2024-04-23 00:08:48 +00:00
Jack Grigg 12334b3a18 Import Rust crate audits from Google 2024-04-23 00:08:48 +00:00
Jack Grigg 6bbd002f59 Import Rust crate audits from Mozilla 2024-04-23 00:08:48 +00:00
Jack Grigg 4eb2df6714 Trust the Windows crates published by Microsoft
As with our `cargo-vet` usage in `zcash/zcash`, these are binary crates
for interacting with Windows APIs, so both sides are maintained by
Microsoft and are not something we can audit ourselves.
2024-04-23 00:08:48 +00:00
Jack Grigg 3f11ba5c74 Import our Rust crate audits from elsewhere 2024-04-23 00:08:48 +00:00
Jack Grigg f3717d9427 Trust the Zcash crates we maintain and publish
Trust set imported from `zcash/zcash` where there were common deps.
2024-04-23 00:08:48 +00:00
Jack Grigg afb8b55ed8 Import cargo-vet criteria from `zcash/zcash` 2024-04-22 23:37:02 +00:00
Jack Grigg 672cc9f080 cargo vet init 2024-04-22 23:31:40 +00:00
str4d 5c6a6a4c86
Merge pull request #1143 from nuttycom/crate_zip321
Extract `zip321` crate from `zcash_client_backend`
2024-04-22 22:46:09 +01:00
Kris Nuttycombe d2aa6cfc7f Apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2024-04-22 14:41:50 -06:00
Kris Nuttycombe aeac544aed Address comments from code review. 2024-04-22 10:55:25 -06:00
str4d 5df164b2a4
Merge pull request #1357 from zcash/equihash-refactor-code
Refactor `equihash` code
2024-04-19 02:59:45 +01:00
Jack Grigg d4b405f03f equihash: Move helper methods for minimal reprs into a submodule 2024-04-18 23:19:35 +00:00
Jack Grigg cc1bcb8a4a equihash: Move `Params` into an internal submodule 2024-04-18 21:07:24 +00:00
str4d 3877c38a2c
Merge pull request #1343 from zcash/dependabot/github_actions/peaceiris/actions-gh-pages-4
build(deps): bump peaceiris/actions-gh-pages from 3 to 4
2024-04-18 15:20:42 +01:00
str4d 390b929663
Merge pull request #1347 from zcash/dependabot/github_actions/supplypike/setup-bin-4
build(deps): bump supplypike/setup-bin from 3 to 4
2024-04-18 15:20:04 +01:00
Daira-Emma Hopwood ea82dbeb64
Apply straightforward suggestions from code review 2024-04-18 01:12:13 +01:00
Kris Nuttycombe f28aa6b304 `zcash_{keys, client_backend}`: Fix no-default-features build. 2024-04-11 18:00:59 -06:00
dependabot[bot] 5cf83c5a44
build(deps): bump supplypike/setup-bin from 3 to 4
Bumps [supplypike/setup-bin](https://github.com/supplypike/setup-bin) from 3 to 4.
- [Release notes](https://github.com/supplypike/setup-bin/releases)
- [Commits](https://github.com/supplypike/setup-bin/compare/v3...v4)

---
updated-dependencies:
- dependency-name: supplypike/setup-bin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 05:56:09 +00:00
dependabot[bot] b42b4984ad
build(deps): bump peaceiris/actions-gh-pages from 3 to 4
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 05:52:08 +00:00
Kris Nuttycombe 19fce07c4d
Merge pull request #1342 from zcash/release-zcash_client_sqlite-0.10.3
Release zcash_client_sqlite version 0.10.3
2024-04-08 15:02:09 -06:00
Kris Nuttycombe a7de8a3dba Release zcash_client_sqlite version 0.10.3 2024-04-08 13:24:42 -06:00
Kris Nuttycombe e37e490450
Merge pull request #1341 from nuttycom/fix_birthday_query
zcash_client_sqlite: Fix broken `account_birthday` method.
2024-04-06 09:50:48 -06:00
Kris Nuttycombe f7c29f0111 zcash_client_sqlite: Fix the broken `account_birthday` query. 2024-04-05 18:21:11 -06:00
Kris Nuttycombe 20e8bca8d9 zcash_client_sqlite: Add a test demonstrating the broken `account_birthday` query. 2024-04-05 16:56:54 -06:00
Kris Nuttycombe b60600a4c3 zcash_client_sqlite: Use `ZcashAddress` for persistence of sent note addresses
Prior to this change, the recipient of a sent transaction would always
be shown as the protocol-level address, instead of any unified address
intended as the recipient. Now, instead of reencoding the recipient
address, we use the original `ZcashAddress` value from the payment
request.
2024-04-05 16:48:13 -06:00
Kris Nuttycombe 86e1181259 zip321: Make `Payment` fields private. 2024-04-05 16:30:31 -06:00
Kris Nuttycombe 3ea7d84183 zcash_client_backend: Update to use extracted `zip321` crate 2024-04-05 16:25:21 -06:00
Kris Nuttycombe d982d7826a zip321: Replace dependencies on `zcash_keys` types with `zcash_address` 2024-04-05 16:10:22 -06:00
Kris Nuttycombe fdf86ad740 Move `zcash_client_backend::zip321` to the `zip321` crate. 2024-04-03 12:14:20 -06:00
Kris Nuttycombe 07d5aa4a79 zip321: Remove stub lib.rs 2024-04-03 12:14:18 -06:00
Kris Nuttycombe bbb8d1090a Add placeholder for a zip321 crate. 2024-04-03 12:13:47 -06:00
Kris Nuttycombe 430212cd53
Merge pull request #1184 from zcash/1169-sync-engine
zcash_client_backend: Implement async wallet synchronization function
2024-04-03 11:23:02 -06:00
Jack Grigg 7f017bc126 CI: Test with `sync` feature flag 2024-04-02 00:37:16 +00:00
Jack Grigg 24277a6ba4 zcash_client_backend: Implement async wallet synchronization function
This implements the necessary state machine for taking a wallet in some
arbitrary synchronization status, and fully scanning (the remainder of)
the chain.

Closes zcash/librustzcash#1169.
2024-04-02 00:26:08 +00:00
oscar-pepper 25b8404e2d
Add block cache trait (#1192) 2024-04-01 21:55:16 +01:00
str4d 023e3cad4c
Merge pull request #1337 from nuttycom/fix_suspicious_account_query
zcash_client_sqlite: Fix sloppy named-parameter reference.
2024-04-01 21:48:09 +01:00
str4d eff1a2be7d
Merge pull request #1339 from nuttycom/use_named_column_accessors
zcash_client_sqlite: Use named column accessors for `to_spendable_note`
2024-04-01 21:35:45 +01:00
Kris Nuttycombe bdd0990db2 zcash_client_sqlite: Use named column accessors for `to_spendable_note` 2024-04-01 13:49:40 -06:00