librustzcash/components/zcash_protocol/CHANGELOG.md

32 lines
1.2 KiB
Markdown
Raw Normal View History

2024-01-27 08:22:01 -08:00
# Changelog
All notable changes to this library will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this library adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
The entries below are relative to the `zcash_primitives` crate as of the tag
`zcash_primitives-0.14.0`.
### Added
- The following modules have been extracted from `zcash_primitives` and
moved to this crate:
- `consensus`
- `constants`
- `zcash_protocol::value` replaces `zcash_primitives::transaction::components::amount`
- Added in `zcash_protocol::value`:
- `Zatoshis`
- `ZatBalance`
### Removed
- From `zcash_protocol::value`:
- `NonNegativeAmount` (use `Zatoshis` instead.)
- `Amount` (use `ZatBalance` instead.)
- The following conversions have been removed relative to `zcash_primitives-0.14.0`,
as `zcash_protocol` does not depend on the `orchard` or `sapling-crypto` crates.
- `From<NonNegativeAmount> for orchard::NoteValue>`
- `TryFrom<orchard::ValueSum> for Amount`
- `From<NonNegativeAmount> for sapling::value::NoteValue>`
- `TryFrom<sapling::value::NoteValue> for NonNegativeAmount`