Kris Nuttycombe
a30037be81
Release zcash_protocol version 0.3.0
2024-08-26 15:59:35 -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
d3ab6fb1ae
zcash_protocol release version 0.2.0
2024-08-19 14:36:11 -06:00
Jack Grigg
bffe6a4a10
Bump MSRV to 1.70
2024-06-12 10:58:17 +00: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
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
5f042c4657
zcash_protocol release version 0.1.1
2024-03-24 19:29:59 -06:00
Jack Grigg
6898dbf094
Replace `unstable-nu6` and `zfuture` feature flags with cfg flags
...
Neither of these should have been feature flags, as they gate breaking
changes to the Zcash consensus rules (and in some ways are incompatible
with each other), while feature flags should be additive.
2024-03-10 18:42:39 +00:00
Kris Nuttycombe
cb4b9f80bc
zcash_protocol: Add `TryFrom<&MemoBytes>` for `Memo`
2024-03-08 13:48:30 -07:00
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
Kris Nuttycombe
8955cfc559
Add missing CHANGELOG entries.
2024-03-05 14:37:26 -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
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
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
66c6bba84e
Add stub for a `zcash_protocol` crate.
2024-03-05 09:45:24 -07:00