Kris Nuttycombe
cc39bf4429
zcash_primitives: Add Orchard bundle metadata to transaction builder.
2024-01-16 13:19:24 -07:00
str4d
75184acfdb
Merge pull request #1113 from zcash/zcash_address-remove-type-aliases
...
zcash_address: Remove private type aliases for raw data sizes
2024-01-12 15:15:55 +00:00
Jack Grigg
29dc5d1d5c
zcash_address 0.3.1
2024-01-12 04:53:39 +00:00
Jack Grigg
22271145a7
zcash_address: Improve documentation
2024-01-12 04:53:39 +00:00
Jack Grigg
6570116384
zcash_address: Show feature flags in documentation
2024-01-12 02:45:22 +00:00
Jack Grigg
3f006bffac
zcash_address: Remove private type aliases for raw data sizes
...
These served no type safety purpose; they were just to make developing
the crate easier. However, while docs.rs correctly shows these in trait
APIs as their plain `[u8; N]` form, editor LSPs like `rust-analyzer`
assume the crate-private types are public and auto-create stubs that
reference them, which is not good UX for downstream developers.
2024-01-12 00:15:55 +00:00
Kris Nuttycombe
47d432820a
Merge pull request #1112 from nuttycom/get_accounts
...
Add WalletRead::get_account_ids (subsumes #1106 to fix formatting issues)
2024-01-11 15:05:03 -07:00
Kris Nuttycombe
60336714f7
Fix Rust formatting.
2024-01-11 14:31:19 -07:00
Andrew Arnott
28ed048c7e
Add punctuation to changelog
...
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-11 12:02:24 -07:00
Andrew Arnott
69d92808f3
Add `WalletRead::get_account_ids` function
2024-01-10 13:01:01 -07:00
Kris Nuttycombe
a99e842404
Merge pull request #829 from nuttycom/wallet/select_ua_receivers
...
Add receiver type selection to unified address derivation.
2024-01-09 11:52:13 -07:00
Kris Nuttycombe
6cbdd494cf
zcash_client_backend: Add receiver type selection to unified address derivation.
2024-01-09 10:48:13 -07:00
Kris Nuttycombe
c3a630bac3
Merge pull request #1060 from nuttycom/wallet/generalize_proposals
...
Add Orchard support to fees & transaction proposals.
2024-01-09 09:20:41 -07:00
Kris Nuttycombe
3bce5afea5
Merge pull request #1078 from nerdcash/displayableErrors
...
Implement Display trait for `DecodingError`
2024-01-08 10:06:43 -07:00
Kris Nuttycombe
b399599bd4
Merge pull request #1104 from nerdcash/dropMainNetFeature
...
Drop unused `mainnet` feature
2024-01-08 10:05:02 -07:00
Andrew Arnott
52a91a0ee7
Drop unused `mainnet` feature
...
Nothing seems to have depended on it, and my testing suggests the same build of this crate can work on both networks.
2024-01-08 06:32:21 -07:00
Kris Nuttycombe
24ebe4c643
Address comments from code review.
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2024-01-05 17:00:46 -07:00
Kris Nuttycombe
adc75566a0
zcash_client_backend: Add Orchard support to transaction proposals.
2024-01-05 16:59:54 -07:00
Kris Nuttycombe
56f2ac573c
zcash_client_backend: Add Orchard support to change strategies.
...
This modifies the `compute_balance` method to operate in a
bundle-oriented fashion, which simplifies the API and makes it easier to
elide Orchard functionality in the case that the `orchard` feature is
not enabled.
2024-01-05 16:59:54 -07:00
Kris Nuttycombe
2d5bf5d8d9
Merge pull request #1100 from zcash/1098-ci-lint-protobuf
...
CI: Add lint to check protobuf consistency with generated files
2024-01-05 16:32:15 -07:00
Jack Grigg
3789e46700
CI: Add lint to check protobuf consistency with generated files
...
Closes zcash/librustzcash#1098 .
2024-01-05 21:03:01 +00:00
str4d
0548b3dd9b
Merge pull request #1090 from nuttycom/rename_wallet_note
...
zcash_client_backend: rename `WalletNote` to `Note`
2024-01-05 17:16:29 +00:00
Kris Nuttycombe
5d7638ccf8
Merge pull request #1089 from rex4539/typos
...
Fix typo
2024-01-05 09:57:17 -07:00
Kris Nuttycombe
1b036f1e0d
zcash_client_backend: rename `WalletNote` to `Note`
2024-01-05 09:13:53 -07:00
Dimitris Apostolou
652c393896
Fix typo
2024-01-05 12:44:57 +02:00
Kris Nuttycombe
28319ffc38
Merge pull request #1085 from nuttycom/wallet/common_input_source
...
Replace SaplingInputSource and TransparentInputSource with InputSource
2024-01-04 15:07:23 -07:00
Kris Nuttycombe
5126fd6b5f
Merge pull request #1086 from zcash/docs-rs-feature-flags
...
Show feature flags in documentation
2024-01-04 14:34:40 -07:00
str4d
3ea8b909c9
Merge pull request #1077 from nerdcash/unstableVsCode
...
Enable unstable features when editing in VS Code
2024-01-04 21:19:48 +00:00
Kris Nuttycombe
d4aa2d6f06
Replace SaplingInputSource and TransparentInputSource with InputSource
...
This unification allows us to better isolate transparent-input dependent
functionality. Previously, `TransparentInputSource` could not be placed
under a feature flag because the interface was needed for proposal
deserialization; by instead making the transparent input source methods
flag-dependent, we can correctly produce an error when proposal
deserializaiton attempts to select transparent inputs and the feature
flag is off.
2024-01-04 14:00:20 -07:00
str4d
b83877f44b
Merge pull request #1080 from nuttycom/wallet/orchard_feature_flag
...
zcash_client_backend: Introduce an "orchard" feature flag.
2024-01-04 20:59:51 +00:00
Jack Grigg
3989ee9926
Show feature flags in documentation
...
This can be rendered locally with:
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps --workspace --all-features
2024-01-04 19:07:22 +00:00
Kris Nuttycombe
967fd36d39
Apply suggestions from code review
...
Co-authored-by: str4d <thestr4d@gmail.com>
2024-01-04 11:56:59 -07:00
Andrew Arnott
1804647112
Update .vscode/settings.json
...
Co-authored-by: str4d <thestr4d@gmail.com>
2024-01-04 11:44:17 -07:00
Kris Nuttycombe
857e44a11c
zcash_client_backend: Use a polymorphic type for `ScannedBlock` note commitment and nullifier data.
2024-01-04 11:19:22 -07:00
Kris Nuttycombe
f18d082aa3
zcash_client_backend: Introduce an "orchard-client" feature flag.
...
We plan to also introduce a similar flag to gate access to Sapling
functionality. Since introduction of Orchard functionality is still
nascent, it's the correct time to introduce this isolation, before
there's more functionality that needs to be isolated in this fashion.
2024-01-03 17:05:20 -07:00
str4d
4bd6520013
Merge pull request #1081 from zcash/api-cleanups
...
API cleanups
2024-01-03 20:43:27 +00:00
Jack Grigg
2ea83243a7
Document the feature flags
2024-01-03 20:15:21 +00:00
Jack Grigg
0df4c6f043
Remove implicit feature flags for optional dependencies
...
All optional dependencies are enabled as part of dedicated feature
flags.
2024-01-03 20:15:21 +00:00
Jack Grigg
b7bba9bbb2
zcash_primitives: Remove `keys` module
2024-01-03 17:29:59 +00:00
Andrew Arnott
a1b644cffa
Implement Display trait for `DecodingError`
2024-01-03 09:05:41 -07:00
Kris Nuttycombe
6c5bdf85ce
Merge pull request #1065 from nuttycom/primitives/padding_rule
...
zcash_primitives: Add explicit control over padding to the transaction builder.
2024-01-02 15:03:55 -07:00
Kris Nuttycombe
704e8e1144
zcash_primitives: Updates to reflect `sapling-crypto` and `orchard` builder changes.
2024-01-02 13:00:11 -07:00
Kris Nuttycombe
1ef6bf6656
Merge pull request #1066 from nuttycom/wallet/common_fee_logic
...
Factor out common logic from zip317 and fixed-fee single output change strategies.
2023-12-20 20:50:53 -07:00
Andrew Arnott
976a5e0366
Enable unstable features when editing in VS Code
...
This improves the editing experience by 'enabling' all the code that otherwise is turned off because of the `unstable` flag.
2023-12-16 14:22:03 -07:00
str4d
20f8b97195
Merge pull request #1063 from nuttycom/backend/parsed_address
...
zcash_client_backend: Rename `RecipientAddress` to `Address`
2023-12-15 17:40:22 +00:00
Kris Nuttycombe
d74f635d9d
zcash_client_backend: Factor out common single-output change strategy logic.
2023-12-14 12:55:34 -07:00
str4d
926c5dcb3f
Merge pull request #1068 from zcash/post-sapling-crypto-extraction-cleanup
...
Post sapling crypto extraction cleanup
2023-12-12 21:00:53 +00:00
Jack Grigg
35ea2ff38b
zcash_primitives: Remove `sapling-crypto` re-export and update changelog
2023-12-12 19:50:26 +00:00
Jack Grigg
b6907b14e6
Use `sapling-crypto` crate directly outside `zcash_primitives`
2023-12-12 19:50:26 +00:00
Jack Grigg
bf984ff38d
zcash_primitives: Remove benchmarks that were moved to `sapling-crypto`
2023-12-12 18:45:32 +00:00