Jack Grigg
7bff034c59
zcash_transparent: Fix its dependencies to work with no-std
2024-12-16 11:16:01 +00:00
Jack Grigg
e4915f99c4
zcash_transparent: Refactor code so it compiles in its new crate
2024-12-15 13:25:43 -07:00
Jack Grigg
fb163a3d1d
zcash_address 0.6.2
2024-12-13 20:56:40 +00:00
Jack Grigg
d660a77174
f4jumble 0.1.1
2024-12-13 20:54:30 +00:00
Jack Grigg
412ff5bba9
f4jumble: Add `alloc` feature flag
2024-12-13 20:53:17 +00:00
Jack Grigg
61cf34a708
zcash_address 0.6.1
2024-12-13 20:22:50 +00:00
Jack Grigg
cf05139913
Migrate to `bech32 0.11`
...
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 20:22:50 +00:00
Jack Grigg
b61652e6fe
zcash_address: Remove serde implementation for `ZcashAddress`
...
We only needed it for `zcash_client_backend` to encode recipient
addresses inside proprietary fields of PCZTs, but now that we are
explicitly encoding them as strings, it is not necessary.
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 20:22:50 +00:00
Jack Grigg
2defe78830
zcash_address: Only require `alloc` instead of `std`
...
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 20:22:50 +00:00
Jack Grigg
4d301c33ae
zcash_encoding 0.2.2
2024-12-13 16:43:39 +00:00
Jack Grigg
f6fe568289
zcash_encoding: Only require `alloc` instead of `std`
2024-12-13 16:43:25 +00:00
Jack Grigg
b04cf09fcb
zcash_protocol 0.4.2
2024-12-13 15:38:59 +00:00
Jack Grigg
97aab07cc7
zcash_protocol: Only require `alloc` instead of `std`
2024-12-13 15:02:56 +00:00
Kris Nuttycombe
7072adb605
zcash_address: Add `serde` implementation for `ZcashAddress`
...
This uses the existing String encoding to avoid defining a new
serialization format. It is necessary for `zcash_client_backend` to
encode recipient addresses inside PCZTs to enable correct extraction and
and storage in the wallet backend.
2024-12-09 10:11:19 -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
Kris Nuttycombe
00cafa3b9e
Apply suggestions from code review & Clippy fixes.
...
Co-authored by: Jack Grig <jack@electriccoin.co>
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-11-13 14:19:15 -07:00
Kris Nuttycombe
3352671e1f
zcash_client_backend: Generalize & extend account metadata query API
...
This generalizes the previous account metadata query API to be able to
represent more complex queries, and also to return note totals in
addition to note counts.
2024-11-13 13:21:56 -07:00
Kris Nuttycombe
5bf0f16dd7
zcash_client_backend: Add `fees::zip317::MultiOutputChangeStrategy`.
2024-10-23 11:23:56 -06:00
Jack Grigg
0786550338
Fix clippy lints after MSRV bump
2024-10-18 22:39:23 +00:00
Jack Grigg
ad9d202071
Bump MSRV to 1.77
2024-10-18 22:10:40 +00:00
Kris Nuttycombe
0eec7487d8
Release `zip321` version 0.2.0
2024-10-04 12:36:53 -06:00
Jack Grigg
6ee2ddfc97
zcash_address 0.6.0
2024-10-02 21:12:45 +00:00
Jack Grigg
e5185e2896
zcash_protocol 0.4.0
2024-10-02 20:11:31 +00:00
Jack Grigg
329b5e32dd
Merge pull request #1548 from zcash/nu6-mainnet-height
...
zcash_protocol: Set the public mainnet activation height for NU6
2024-10-02 21:05:42 +01:00
Kris Nuttycombe
4647d88a05
Update to pre-release of `shardtree 0.5` changes.
2024-09-27 11:41:26 -06:00
Jack Grigg
089905aefb
zcash_protocol: Set the public mainnet activation height for NU6
2024-09-24 16:23:01 +00:00
Jack Grigg
eaf330d950
Fix `cargo test -p zcash_address`
...
Closes zcash/librustzcash#1538 .
2024-09-23 16:13:13 +00: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
f2654f5bf1
zcash_client_backend: Fix broken intra-doc links and other doc warnings.
2024-09-06 13:33:23 -06:00
Kris Nuttycombe
2c3bb22fb9
zip321: Add missing `test-dependencies` feature configuration.
2024-09-04 08:00:55 -06:00
Kris Nuttycombe
1b3433e0dd
Add correct `BlockHeight` subtraction & remove panics.
...
In contrast to the implementation of `Sub<BlockHeight> for BlockHeight`
that was removed in version `0.3.0`, a saturating subtraction for block
heights having a return type of `u32` makes sense for `BlockHeight`.
Subtracting one block height from another yields the delta between them.
Other block height addition and subtraction operations have been made
saturating, removing panics and the possibility of overflow.
2024-08-27 16:44:00 -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
b91f3c1790
Merge pull request #1515 from zcash/nu6_testnet_activation
...
zcash_protocol: Set the public testnet activation height for NU6
2024-08-26 15:56:45 -06:00
Kris Nuttycombe
529e3be571
zcash_protocol: Set the public testnet activation height for NU6
2024-08-26 13:50:34 -06:00
Kris Nuttycombe
8259825d64
zcash_protocol: Remove impl {Add, Sub} for BlockHeight
...
These operations are unused, and block heights form a vector space,
not a monoid.
2024-08-25 10:02:33 -06:00
Kris Nuttycombe
827192ebcb
release zip321 version 0.1.0
2024-08-19 19:37:46 -06:00
Kris Nuttycombe
0e803a73c9
release zcash_address version 0.4.0
2024-08-19 16:24:03 -06:00
Kris Nuttycombe
bd4542b3cf
release zcash_encoding version 0.2.1
2024-08-19 15:08:37 -06:00
Kris Nuttycombe
d3ab6fb1ae
zcash_protocol release version 0.2.0
2024-08-19 14:36:11 -06:00
Alfredo Garcia
5a4a3e06dc
Make `nu6` rust feature stable ( #1454 )
2024-08-06 00:01:03 +01:00
hattizai
2244e0ff77
remove duplicate words
2024-07-03 11:01:40 +08:00
Daira-Emma Hopwood
6f4a3b107e
Address a review comment concerning `Vector::serialized_size`.
...
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-06-18 21:06:42 +01:00
Daira-Emma Hopwood
9881861228
Add `zcash_encoding::{CompactSize, Vector}::serialized_size` and
...
`zcash_primitives::legacy::Script::serialized_size`. Use the latter in
`zcash_primitives::transaction::fees::transparent::OutputView::serialized_size`.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-06-18 21:06:39 +01:00
Daira-Emma Hopwood
6c90219817
Prefer the `PoolType::{SAPLING, ORCHARD, TRANSPARENT}` constants to
...
`PoolType::{Shielded(_), Transparent}`.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-06-18 21:03:22 +01:00
Daira-Emma Hopwood
4cd96f30a1
Fix clippy lints exposed by the MSRV bump to 1.70.0.
...
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-06-12 14:51:29 +01:00
Jack Grigg
bffe6a4a10
Bump MSRV to 1.70
2024-06-12 10:58:17 +00:00
str4d
851e20347f
Fix changelogs to reflect actual MSRVs
2024-05-24 15:46:40 +01:00
Daira-Emma Hopwood
aa77be8830
Update dependencies (including to avoid a vulnerability warning for atty), bump MSRV to 1.66,
...
and fix new clippy lints for MSRV 1.66.
* tonic 0.10 -> 0.11
* tonic-build 0.10 -> 0.11
* cargo update
* cargo update -p home@0.5.9 --precise 0.5.5
* cargo update -p prost-build@0.12.4 --precise 0.12.3
* cargo update -p prost-types@0.12.4 --precise 0.12.3
* cargo update -p prost@0.12.4 --precise 0.12.3
* cargo update -p prost-derive@0.12.5 --precise 0.12.3
* cargo update -p half@2.4.1 --precise 2.2.1
(The precise updates avoid a further MSRV bump to 1.70.)
Remaining duplicates are currently unavoidable.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-05-20 13:35:27 +01: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