zcash_protocol 0.4.0

This commit is contained in:
Jack Grigg 2024-10-02 20:11:31 +00:00
parent 830c20521c
commit e5185e2896
9 changed files with 12 additions and 7 deletions

2
Cargo.lock generated
View File

@ -6088,7 +6088,7 @@ dependencies = [
[[package]] [[package]]
name = "zcash_protocol" name = "zcash_protocol"
version = "0.3.0" version = "0.4.0"
dependencies = [ dependencies = [
"document-features", "document-features",
"incrementalmerkletree", "incrementalmerkletree",

View File

@ -36,7 +36,7 @@ zcash_address = { version = "0.5", path = "components/zcash_address" }
zcash_client_backend = { version = "0.13", path = "zcash_client_backend" } zcash_client_backend = { version = "0.13", path = "zcash_client_backend" }
zcash_encoding = { version = "0.2.1", path = "components/zcash_encoding" } zcash_encoding = { version = "0.2.1", path = "components/zcash_encoding" }
zcash_keys = { version = "0.3", path = "zcash_keys" } zcash_keys = { version = "0.3", path = "zcash_keys" }
zcash_protocol = { version = "0.3", path = "components/zcash_protocol" } zcash_protocol = { version = "0.4", path = "components/zcash_protocol" }
zip321 = { version = "0.1", path = "components/zip321" } zip321 = { version = "0.1", path = "components/zip321" }
zcash_note_encryption = "0.4" zcash_note_encryption = "0.4"

View File

@ -7,6 +7,7 @@ and this library adheres to Rust's notion of
## [Unreleased] ## [Unreleased]
## [0.4.0] - 2024-10-02
### Added ### Added
- `impl Sub<BlockHeight> for BlockHeight` unlike the implementation that was - `impl Sub<BlockHeight> for BlockHeight` unlike the implementation that was
removed in version `0.3.0`, a saturating subtraction for block heights having removed in version `0.3.0`, a saturating subtraction for block heights having

View File

@ -1,7 +1,7 @@
[package] [package]
name = "zcash_protocol" name = "zcash_protocol"
description = "Zcash protocol network constants and value types." description = "Zcash protocol network constants and value types."
version = "0.3.0" version = "0.4.0"
authors = [ authors = [
"Jack Grigg <jack@electriccoin.co>", "Jack Grigg <jack@electriccoin.co>",
"Kris Nuttycombe <kris@nutty.land>", "Kris Nuttycombe <kris@nutty.land>",

View File

@ -1,6 +1,10 @@
# cargo-vet imports lock # cargo-vet imports lock
[[unpublished.zcash_protocol]]
version = "0.4.0"
audited_as = "0.3.0"
[[publisher.bumpalo]] [[publisher.bumpalo]]
version = "3.16.0" version = "3.16.0"
when = "2024-04-08" when = "2024-04-08"

View File

@ -13,7 +13,7 @@ and this library adheres to Rust's notion of
- `WalletSummary::recovery_progress` - `WalletSummary::recovery_progress`
### Changed ### Changed
- Migrated to `orchard 0.10`, `sapling-crypto 0.3`. - Migrated to `orchard 0.10`, `sapling-crypto 0.3`, `zcash_protocol 0.4`.
- The `Account` trait now uses an associated type for its `AccountId` - The `Account` trait now uses an associated type for its `AccountId`
type instead of a type parameter. This change allows for the simplification type instead of a type parameter. This change allows for the simplification
of some type signatures. of some type signatures.

View File

@ -8,7 +8,7 @@ and this library adheres to Rust's notion of
## [Unreleased] ## [Unreleased]
### Changed ### Changed
- Migrated to `orchard 0.10`, `sapling-crypto 0.3`. - Migrated to `orchard 0.10`, `sapling-crypto 0.3`, `zcash_protocol 0.4`.
- `zcash_client_sqlite::error::SqliteClientError::RequestedRewindInvalid` - `zcash_client_sqlite::error::SqliteClientError::RequestedRewindInvalid`
is now a structured variant. is now a structured variant.

View File

@ -13,7 +13,7 @@ and this library adheres to Rust's notion of
- `impl std::error::Error for DerivationError` - `impl std::error::Error for DerivationError`
### Changed ### Changed
- Migrated to `orchard 0.10`, `sapling-crypto 0.3`. - Migrated to `orchard 0.10`, `sapling-crypto 0.3`, `zcash_protocol 0.4`.
## [0.3.0] - 2024-08-19 ## [0.3.0] - 2024-08-19
### Notable changes ### Notable changes

View File

@ -9,7 +9,7 @@ and this library adheres to Rust's notion of
### Changed ### Changed
- Update dependencies to `incrementalmerkletree 0.7`, `orchard 0.10`, - Update dependencies to `incrementalmerkletree 0.7`, `orchard 0.10`,
`sapling-crypto 0.3`. `sapling-crypto 0.3`, `zcash_protocol 0.4`.
## [0.17.0] - 2024-08-26 ## [0.17.0] - 2024-08-26