Jack Grigg
d0673c9bc3
zcash_protocol 0.1.0
2024-03-06 15:07:11 +00:00
Kris Nuttycombe
cef9e7641d
`zcash_address`: Add support for ZIP 320, TEX addresses.
2024-03-06 14:59:16 +00:00
str4d
16e3d1bf07
Merge pull request #1142 from nuttycom/crate_zcash_protocol
...
Factor out protocol constants and value types into a `zcash_protocol` crate.
2024-03-06 14:39:11 +00:00
Kris Nuttycombe
376db4684b
Fix incorrect zip321 amount parsing.
2024-03-05 21:50:25 -07:00
Kris Nuttycombe
6b4942f8eb
Add failing test for incorrect zip321 amount parsing.
2024-03-05 21:48:05 -07:00
Kris Nuttycombe
eaabc0f514
Apply suggestions from code review
...
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-03-05 20:03:46 -07:00
Kris Nuttycombe
8955cfc559
Add missing CHANGELOG entries.
2024-03-05 14:37:26 -07:00
Kris Nuttycombe
5675a76f0d
zcash_protocol: Use `BalanceError` instead of `()` for monetary range violations.
2024-03-05 13:59:26 -07:00
Kris Nuttycombe
51d4464472
Remove `network_type` calls that are obviated by the blanket impl.
2024-03-05 13:36:15 -07:00
Kris Nuttycombe
b8aa5132c2
Apply suggestions from code review
...
Co-authored-by: str4d <thestr4d@gmail.com>
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-03-05 13:36:15 -07:00
Kris Nuttycombe
04fdac7931
zcash_primitives: Move the `memo` module to the `zcash_protocol` crate.
2024-03-05 13:36:15 -07:00
Kris Nuttycombe
a823ed776f
Expose address generation errors when constructing default addresses
2024-03-05 13:36:15 -07:00
Kris Nuttycombe
4b18426fcd
zcash_address: Use `zcash_protocol::consensus::NetworkType`
...
This inverts the dependency relationship between `zcash_protocol` and
`zcash_address`, permitting the network constants (primarily the HRPs)
defined in `zcash_protocol` to be used directly in `zcash_address`
instead of being duplicated.
2024-03-05 13:36:15 -07:00
Kris Nuttycombe
64454100c5
zcash_client_backend: Move the `ShieldedProtocol` and `PoolType` types to `zcash_protocol`
2024-03-05 09:46:03 -07:00
Kris Nuttycombe
a35ccfc10b
Fix broken intra-doc links after `zcash_protocol` crate extraction.
2024-03-05 09:45:24 -07:00
Kris Nuttycombe
85d1ca251a
zcash_primitives: Move the `local-consensus` module to the `zcash_protocol` crate.
2024-03-05 09:45:24 -07:00
Kris Nuttycombe
eb3c7b479e
zcash_protocol: Modify `Zatoshis` to directly wrap a u64
2024-03-05 09:45:24 -07:00
Kris Nuttycombe
7188482225
zcash_protocol: Rename value amounts to `Zatoshis` and `ZatBalance`
2024-03-05 09:45:24 -07:00
Kris Nuttycombe
5e4d9abbce
Move `Amount` and `NonNegativeAmount` types to the `zcash_protocol` crate.
2024-03-05 09:45:24 -07:00
Kris Nuttycombe
bacfe3cb9d
Move `zcash_primitives::{consensus, constants}` to the `zcash_protocol` crate
2024-03-05 09:45:24 -07:00
Kris Nuttycombe
66c6bba84e
Add stub for a `zcash_protocol` crate.
2024-03-05 09:45:24 -07:00
str4d
0c12f31da5
Merge pull request #1224 from nuttycom/release/zcash_keys-0.1.1
...
Release zcash_keys version 0.1.1
2024-03-04 23:40:26 +00:00
Kris Nuttycombe
e90d5aaaf0
Release zcash_keys version 0.1.1
2024-03-04 15:54:55 -07:00
Kris Nuttycombe
042a7a6990
Merge pull request #1214 from nuttycom/fix/zcash_keys_flagging
...
zcash_keys: Fix a few problems with no-flags compilation.
2024-03-04 15:47:48 -07:00
Kris Nuttycombe
836d88b9c3
zcash_keys: Fix a few problems with no-flags compilation.
2024-03-04 15:01:15 -07:00
str4d
e78ea02240
Merge pull request #1213 from nuttycom/wallet/key_validation
...
zcash_client_backend: Add `WalletRead::validate_seed`
2024-03-04 21:54:23 +00:00
Kris Nuttycombe
0d430ba62c
Apply documentation suggestions from code review.
...
Co-authored-by: str4d <thestr4d@gmail.com>
2024-03-04 13:32:26 -07:00
Kris Nuttycombe
e4c0b0e63f
zcash_client_backend: Add `WalletRead::validate_seed`
...
This adds a mechanism that allows a caller to verify that a given seed
generates the viewing key that is stored in the wallet for a specified
account.
Fixes #1189
2024-03-04 10:59:56 -07:00
Kris Nuttycombe
41fda05f97
Merge pull request #1212 from zcash/zcash_history-0.4.0
...
zcash_history 0.4.0
2024-03-01 12:30:05 -07:00
Jack Grigg
cdbd33e2ff
zcash_history 0.4.0
2024-03-01 15:10:11 +00:00
str4d
f4c4f1ab1c
Merge pull request #1211 from zcash/release-0.14.0-etc
...
Release 0.14.0 etc
2024-03-01 01:57:25 +00:00
Jack Grigg
dbdc88e4d7
Revert "Hide unstable `orchard` feature flag in rustdoc"
...
Now that the release commits are created, we can unhide this ahead of
the subsequent Orchard-supporting releases.
This reverts commit zcash/librustzcash@6161709441 .
2024-03-01 01:17:15 +00:00
Jack Grigg
891ab1ca6d
zcash_client_sqlite 0.9.0
...
Closes zcash/librustzcash#961 .
2024-03-01 01:17:02 +00:00
Jack Grigg
dfb6c65edd
zcash_client_backend 0.11.0
...
Closes zcash/librustzcash#962 .
2024-03-01 01:16:04 +00:00
Jack Grigg
3135c31d1a
zcash_keys 0.1.0
2024-03-01 01:14:34 +00:00
Jack Grigg
d0c380114a
zcash_proofs 0.14.0
...
Closes zcash/librustzcash#1034 .
2024-03-01 01:13:49 +00:00
Jack Grigg
599aa45a56
zcash_primitives 0.14.0
2024-03-01 01:12:43 +00:00
Jack Grigg
6161709441
Hide unstable `orchard` feature flag in rustdoc
...
It is not part of the public API for `zcash_client_backend 0.11.0` and
`zcash_client_sqlite 0.9.0`.
2024-03-01 01:12:07 +00:00
Kris Nuttycombe
af303e810a
Merge pull request #1210 from nuttycom/wallet/account_doc
...
zcash_client_backend: Add documentation for the `data_api` module.
2024-02-29 18:04:57 -07:00
Kris Nuttycombe
9ea027150a
zcash_client_sqlite: Allow use of `zcash_client_backend::data_api::wallet::spend` in tests
2024-02-29 17:57:24 -07:00
Kris Nuttycombe
e44ddee8ad
zcash_client_backend: Add documentation for the `data_api` module.
...
Fixes #1209
2024-03-01 00:47:15 +00:00
Kris Nuttycombe
dc3aee1f23
Merge pull request #1195 from nuttycom/wallet/generalize_scanning_keys
...
zcash_client_backend: Implement batch scanning for Orchard outputs in `scan_cached_blocks`.
2024-02-29 16:06:17 -07:00
Kris Nuttycombe
e5f23b9126
Update `orchard` dependency version to `0.7.1`
2024-02-29 15:39:44 -07:00
Kris Nuttycombe
a4b951d193
Apply suggestions from code review
...
Co-authored-by: str4d <thestr4d@gmail.com>
2024-02-29 15:19:07 -07:00
Kris Nuttycombe
939cfcce70
zcash_client_sqlite: Temporarily hardcode an empty response for `get_orchard_nullifiers`
2024-02-29 12:06:25 -07:00
Kris Nuttycombe
27f6207a7c
zcash_client_backend: Pass nullifiers separately from scanning keys.
2024-02-29 12:06:22 -07:00
Kris Nuttycombe
a63d5e51d1
zcash_client_backend: Return decoding errors from `BatchRunners::add_block`
2024-02-29 12:04:55 -07:00
Kris Nuttycombe
7e8723bea9
zcash_client_backend: Add Orchard support to batch scanning.
2024-02-29 12:04:53 -07:00
Kris Nuttycombe
880c24c45d
zcash_client_backend: Generalize key source metadata.
2024-02-29 11:55:44 -07:00
Kris Nuttycombe
802c01002a
zcash_client_backend: Rework scanning key identifiers.
...
In the process of making the internals of `scan_block_with_runner`
reusable across Sapling and Orchard, it became evident that key
identifier abstraction along the lines of #1175 is needed more
generally. This commit refactors the use of ZIP 32 account identifiers
and key scopes to better separate scanning concerns from ZIP 32 key
derivation. In the process, this removes a fair amount of unnecessary
polymorphism from `zcash_client_backend::wallet::WalletTx` and related
types.
2024-02-29 11:55:25 -07:00