Commit Graph

3970 Commits

Author SHA1 Message Date
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
Kris Nuttycombe 9bd97814db zcash_client_sqlite: Use named column references in `to_unspent_transparent_output` 2024-04-01 12:19:54 -06:00
Kris Nuttycombe e618d80cde zcash_client_sqlite: Fix sloppy named-parameter reference. 2024-04-01 12:19:49 -06:00
Kris Nuttycombe 55895b85b5 zcash_client_sqlite: Add a test for multiple-account retrieval. 2024-04-01 12:19:48 -06:00
Kris Nuttycombe cc9ea3901c
Merge pull request #1334 from zcash/fix/ensure_orchard_in_default_ua
zcash_client_sqlite: Add a migration to ensure that default addresses…
2024-03-29 13:03:07 -06:00
Kris Nuttycombe c34b68204d zcash_client_sqlite: Add a migration to ensure that default addresses have an Orchard receiver. 2024-03-29 11:53:28 -06:00
str4d 86823c929a
Merge pull request #1333 from zcash/fix/single_pool_send_to_t
zcash_client_sqlite: Fix incorrect input selection filtering when sending to transparent.
2024-03-27 21:49:11 +00:00
Kris Nuttycombe 1cb33c8b06 zcash_client_backend release version 0.12.1 2024-03-27 14:58:12 -06:00
Kris Nuttycombe d431889560 zcash_client_sqlite: Fix incorrect input selection filtering when sending to transparent.
The "avoid pool crossing" conditions in not selection were erroneously
not taking into account the need to pay transparent outputs.
2024-03-27 14:58:12 -06:00
Kris Nuttycombe a58355f697 zcash_client_backend: Add a failing test for note selection error. 2024-03-27 14:58:12 -06:00
str4d 0d80f3c01a
Merge pull request #1331 from zcash/release-zcash_client_sqlite-0.10.2
zcash_client_sqlite 0.10.2
2024-03-27 19:07:52 +00:00
Jack Grigg bea4097ded zcash_client_sqlite 0.10.2 2024-03-27 11:05:26 -04:00
str4d 9195019375
Merge pull request #1328 from zcash/1326-zcs-fix-query
zcash_client_sqlite: Fix column name in UTXO query
2024-03-27 14:49:11 +00:00
Jack Grigg 5462f84676 zcash_client_sqlite: Fix column name in UTXO query
Closes zcash/librustzcash#1326.
2024-03-27 13:49:20 +00:00